Information processing device and information processing method

ABSTRACT

Included are a speech recognition result obtainer that obtains a speech recognition result, which is text data obtained by speech recognition processing, a priority obtainer that obtains priority corresponding to each of a plurality of tasks that are each identified by a plurality of dialog processing based on the speech recognition result; and a dialog processing controller that causes a plurality of devices to perform the distributed execution of the plurality of dialog processing mutually different from each other. The dialog processing controller provides, based on the priority, control information in accordance with a task identified by the distributed execution to an executer that operates based on the control information.

BACKGROUND 1. Technical Field

The present disclosure relates to an information processing device andan information processing method.

2. Description of the Related Art

Conventional electronic devices having speech recognition functions haveperformed speech recognition processing where speech uttered by a useris recognized, and dialog processing where actions of the device areidentified from the results of the recognition, within the device.Accordingly, the vocabulary that can be handled in the speechrecognition processing and dialog processing has been limited to aroundseveral hundred words, due to limitations in calculation capabilities ofthe device, memory capacity, and so forth.

As of recent, faster network speeds and technological advances in cloudcomputing have enabled speech recognition processing to be implementedat cloud servers. This has realized speech recognition processingregarding a vast vocabulary containing hundreds of thousands of words. Adevice needs to be connected to a network in order to perform suchspeech recognition processing using such a cloud server, and there hasbeen a problem in that the speed of response from the server will beslow if the communication environment of the network is slow, and iftraffic is heavy due to multiple devices accessing the server.

Accordingly, there has recently been proposed a client-server typespeech recognition system where tasks that require a speedy responsewith a limited vocabulary that can be recognized are subjected to speechrecognition processing in the device. On the other hand, tasks thatdemand a great vocabulary that can be recognized, even if there is atradeoff that the response speed is somewhat slow, are partially orentirely subjected to speech recognition processing at the cloud server.

Examples of such client-server type speech recognition systems aredisclosed in Japanese Unexamined Patent Application Publication Nos.2012-133243 and 2013-64777. In Japanese Unexamined Patent ApplicationPublication No. 2012-133243, the object of operation is a televisionreceiver (hereinafter, also referred to simply as “TV”). In thisinvention, speech recognition and dialog processing is performed at thedevice side regarding device operation tasks such as selecting TVchannels, adjusting volume, and so forth. On the other hand, part ofspeech recognition processing is performed at the server side regardinginformation search tasks, such as searching for program titles, cast,and so forth, with dialog processing being performed at the device side.

Japanese Unexamined Patent Application Publication No. 2013-64777assumes a mobile terminal such as a cellular phone, smartphone, or thelike, as the device. Speech recognition and dialog processing isperformed at the device side regarding device operation tasks such asplacing calls, using a mail app, activating a camera app, and so forth,in this invention. On the other hand, speech recognition processing isperformed at the server side regarding information search tasks such astransit route searches, eatery searches, application searches, and soforth, while dialog processing is performed at the device side.

SUMMARY

In one general aspect, the techniques disclosed here feature aninformation processing device including a speech recognition resultobtainer that obtains a speech recognition result, which is text dataobtained by speech recognition processing, a priority obtainer thatobtains priority corresponding to each of a plurality of tasks that areeach identified by a plurality of dialog processing based on the speechrecognition result, and a dialog processing controller that causes aplurality of devices to perform distributed execution of the pluralityof dialog processing mutually different from each other, wherein, thedialog processing controller provides, based on the priority, controlinformation in accordance with a task identified by the distributedexecution to an executer that operates based on the control information.

According to the present disclosure, an information processing deviceand an information processing method that can accurately execute tasksdesired by a user, from speech uttered by the user, can be provided.

It should be noted that general or specific embodiments may beimplemented as a system, a method, an integrated circuit, a computerprogram, a storage medium, or any selective combination thereof.

Additional benefits and advantages of the disclosed embodiments willbecome apparent from the specification and drawings. The benefits and/oradvantages may be individually obtained by the various embodiments andfeatures of the specification and drawings, which need not all beprovided in order to obtain one or more of such benefits and/oradvantages.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a dialog processing control systemaccording to a first embodiment;

FIG. 2 is a diagram illustrating an example of dialog rules used by athird dialog processing unit of a dialog processing server according tothe first embodiment;

FIG. 3 is a diagram illustrating an example of dialog rules used by afirst dialog processing unit of a device according to the firstembodiment;

FIG. 4 is a diagram illustrating an example of an action scheduleaccording to the first embodiment;

FIG. 5 is a flowchart for describing operations of the dialog processingcontrol system according to the first embodiment;

FIG. 6 is a block diagram of a dialog processing control systemaccording to a second embodiment;

FIG. 7 is a flowchart for describing the flow of processing of a dialogtask management unit according to the second embodiment creating actionschedules for each dialog processing unit and so forth;

FIG. 8 is a flowchart for describing operations of the of the dialogprocessing control system in a case where a device according to thesecond embodiment cannot control an external device;

FIG. 9 is a flowchart for describing operations of the dialog processingcontrol system in a case where a device according to the secondembodiment cannot use a dialog processing server;

FIG. 10 is a block diagram of a dialog processing control systemaccording to a third embodiment;

FIG. 11 is a diagram illustrating an example of speech understandingrules used by a third speech understanding unit of a speechunderstanding processing server according to the third embodiment;

FIG. 12 is a diagram illustrating an example of speech understandingrules used by a first speech understanding unit of a device according tothe third embodiment;

FIG. 13 is a diagram illustrating an example of response generationrules used by a first response generation unit of the device accordingto the third embodiment;

FIG. 14 is a diagram illustrating an example of response generationrules used by a third response generation unit of the device accordingto the third embodiment;

FIG. 15 is a diagram illustrating an example of an action scheduleaccording to the third embodiment;

FIG. 16 is a flowchart for describing operations of the dialogprocessing control system according to the third embodiment;

FIG. 17 is a block diagram of a dialog processing control systemaccording to a fourth embodiment;

FIG. 18 is a flowchart for describing the flow of processing of a dialogtask management unit according to the fourth embodiment creating actionschedules for each dialog processing unit, each response generationunit, and each speech understanding unit;

FIG. 19 is a flowchart for describing operations of the dialogprocessing control system in a case where a device according to thefourth embodiment cannot control an external device; and

FIG. 20 is a flowchart for describing operations of the dialogprocessing control system in a case where the device according to thefourth embodiment cannot use a speech understanding processing server.

DETAILED DESCRIPTION Underlying Knowledge Forming Basis of the PresentDisclosure

Dialog processing, where actions of a device, which is the object ofoperation, are identified from a recognized text string that has beenobtained as the result of recognition of speech uttered by a user, isperformed at the device side in a conventional client-server typerecognition system. Accordingly, there has been a problem in that thenumber of operation commands and the number of speech patterns(expressions) usable in dialog processing are limited, due to limitedcalculation capabilities, memory capacity, and so forth, of the device.That is to say, there has been a problem in that, even if the speech ofthe user is accurately recognized by speech recognition processing atthe cloud server, the results of the recognition (text string) do notmatch an operation command or speech pattern in the dialog processing inthe device, so that task that the user intended cannot be executed,meaning that the user cannot operate the device as intended.

Accordingly, there has been proposed a method where dialog processing isperformed at the cloud server in the same way as with the speechrecognition processing, enabling a vast vocabulary (number of operationcommands, number of speech patterns, etc.) to be processed. However,there is a problem, the same as with the case of performing speechrecognition at the cloud server, in that in a case of performing dialogprocessing at a cloud server, the speed of response from the server isconsiderably slower as compared to processing within the device, if thecommunication environment of the network is slow or traffic is heavy dueto multiple devices accessing the server.

Thus, a client-server type dialog processing system where tasks thatrequire a speedy response with a limited vocabulary that can berecognized are subjected to dialog processing in the device, and tasksthat demand a great vocabulary that can be recognized, even if there isa tradeoff that the response speed is somewhat slow, are partially orentirely subjected to dialog processing at the cloud server, can beconceived as a method to solve the above problem. In such a system, therecognized text string is input to dialog processing at the device andthe server at almost the same time, to reduce the response time from theserver. Thus, the time until obtaining the final dialog processingresults can be reduced.

However, dialog processing where multiple different tasks are processedwith regard to the recognized text string resulting from the speechrecognition is often performed in recent speech recognition devices andsystems, as noted in Japanese Unexamined Patent Application PublicationNo. 2012-133243. For example, in the dialog processing in JapaneseUnexamined Patent Application Publication No. 2012-133243, determinationis first made regarding whether or not the recognized text string is anoperation command (function) for the device that is the object ofoperation, or an application. In a case of an operation command, therelevant device operation is executed. Otherwise, an app search usingthe recognized text string and a search keyword is performed at an appmarket, and the result is presented to the user. That is to say, dialogprocessing, where two different tasks of a device operation task and appsearch task, is performed in Japanese Unexamined Patent ApplicationPublication No. 2012-133243.

Note that the above-described dialog processing regarding the multipledifferent tasks is performed only within the device in JapaneseUnexamined Patent Application Publication No. 2012-133243. Using aclient-server type system is desirable for dialog processing of a vastvocabulary, as described above. However, in a case of performing dialogprocessing regarding multiple tasks at the same time at both the deviceside and server side, there is a need to decide which of the results ofdialog processing at the device side and the results of dialogprocessing obtained from the server should be given priority inexecution. One method would be to simply execute the valid resultsreceived first, but in a case where the order of priority of individualtasks in the dialog processing differ between the device side and serverside, this method is not necessarily appropriate.

For example, a case will be considered where there are three tasks, ofwhich the priorities differ. The system is configured such that two setsof dialog processing are consecutively performed at the device side,regarding the task of which the priority is first and the task of whichthe priority is third, and dialog processing is performed at the serverside regarding the task of which the priority is second. In this case,the results of dialog processing are preferably executed in the order ofpriority, but the dialog process of the two tasks at the device side mayend before the dialog processing at the server side, depending on thecontent of the speech by the user, the network environment, or the like.That is to say, a problem occurs where the task of which the priority isthird is executed first at the device side without the task of which thepriority is second being executed at the server side.

A specific example will be described regarding the above problem, with aTV as the device. The task of which the priority is first is basicoperations such as selecting channels of the TV, adjusting volume, andso forth, and the task of which the priority is second is operations ofan external device connected to the TV by a network, such as operating adevice such as an air conditioner, lighting, or the like, for example.The task of which the priority is third is an information searchregarding the TV, such as program information searching by program titleor cast name, for example. In this arrangement, dialog processingregarding basic operations regarding the TV, of which the priority isfirst, and information searching regarding the TV, of which the priorityis third, is performed at the TV side. Dialog processing regardingoperation of external devices, of which the priority is second, isperformed at the server side. The reason that dialog processingregarding operation of external devices of which the priority is secondis performed at the server side, is in order to enable processingregarding a wide variety of operation commands for various devices.

If the user says “turn on the air conditioner” and this speech iscorrectly recognized in the above system, the recognized text string,“turn on the air conditioner”, is output as the speech recognitionresult. Next, the recognized text string, “turn on the air conditioner”,is input to the dialog processing at the device side and the server sideat the same time. At the device side, dialog processing of basicoperation tasks for the TV is performed first, and confirmation is maderegarding whether or not the recognized text string is a basic operationcommand for the TV. The recognized text string, “turn on the airconditioner”, is not included in basic operation commands of the TV, sonext, dialog processing of an information search task relating to the TVis performed. That is to say, an information search (TV schedule search,Internet search, etc.) is performed using the recognized text string,“turn on the air conditioner”, as a keyword.

On the other hand, dialog processing of operation tasks of externaldevices is performed at the server side, and confirmation is maderegarding whether or not the recognized text string is an operationcommand for an external device connected to the TV. The recognized textstring, “turn on the air conditioner”, matches an operation command forthe air conditioner, so information to perform an operation of turningon the power to the air conditioner, is transmitted from the server tothe device.

In light of the overall system, the power operation of the airconditioner, which is the operation task of the external device of whichthe priority is second, should be executed before the information searchtask relating to the TV, of which the priority is third. However, thereis a possibility that the two sets of dialog processing at the deviceside (basic operation task of the TV and information search taskregarding the TV) will end in a shorter time than the dialog processingof the external device operation task at the server side, depending onthe network environment and so forth, as described above. That is tosay, depending on the network environment, displaying of the results ofthe keyword search for “turn on the air conditioner” may be displayedbefore the operation of turning on the power for the air conditioner,meaning that the user cannot operate the devices as intended.

The present disclosure provides an information processing device andinformation processing method that enables optimal dialog processingcontrol to be performed, when performing dialog processing of multipletasks having different priorities in parallel at a device side and aserver side in a client-server type dialog processing control system,based on the priority of the tasks.

A dialog processing control device acting as an information processingdevice according to an aspect of the present disclosure includes: aspeech recognition result obtainer that obtains a speech recognitionresult, which is text data obtained by speech recognition processing; apriority obtainer that obtains priority corresponding to each of aplurality of tasks that are each identified by a plurality of dialogprocessing based on the speech recognition result; and a dialogprocessing controller that causes a plurality of devices to performdistributed execution of the plurality of dialog processing mutuallydifferent from each other, wherein the dialog processing controllerprovides, based on the priority, control information in accordance witha task identified by the distributed execution to an executer thatoperates based on the control information.

For example, in this configuration, a dialog task management unitdecides an action schedule for each task identified by dialog processingbetween dialog processors at the side of the devices that process thetasks and a dialog processing server, based on the priority of the tasksstored in a task priority storage. The dialog processing controllercontrols actions of each dialog processing between the dialog processorsat the side of the devices and the side of the server, based on theaction schedule. Accordingly, even in a case where dialog processingincluding multiple different tasks with different priorities areprocessed at the same time in parallel at the device and server side,execution of the tasks can be controlled in an order corresponding tothe priority of the tasks. That is to say, in a case where dialogprocessing of tasks with high priority is performed at the server sideand dialog processing of tasks with low priority is performed at thedevice side, at the same time by parallel processing, the processingresults at the server side can be executed in accordance with thepriority rather than the processing results at the device side, even ifthe response of the processing results from the server is delayed due toeffects of the network environment.

A dialog processing control device according to another aspect of thepresent disclosure may further include a device state manager thatmanages a state of a controlled device that is controlled by theexecuter. The priority obtainer may obtain the priority based on thestate managed by the device state manager.

For example, in this configuration as well, the dialog processingcontroller controls actions of each dialog processing between the dialogprocessors at the side of the devices and the side of the server, basedon the action schedule obtained from the dialog task manager. Notehowever, that in this configuration, the device state manager managesthe device state, and the dialog task manager decides the actionschedule of the dialog processors at the side of the devices and eachdialog processing at the dialog processing server based on the devicestate, in addition to the priority of each task stored in the taskpriority storage. Accordingly, the action schedule of dialog processingby the devices and dialog processing server can be dynamically changedin accordance with the state of the device that is the object ofoperation. That is to say, optimal processing can be performed inaccordance with the device state, and overall processing time can bereduced. For example, at least one of the speech recognition resultobtainer, the priority obtainer and the dialog processing controller mayinclude a processor.

These general or specific aspects may be realized by a system, method,integrated circuit, computer program, or computer-readable recordingmedium such as a CD-ROM, and may be realized by any combination of asystem, method, integrated circuit, computer program, and recordingmedium.

The following is a detailed description of embodiments with reference tothe drawings. Note that the embodiments described below are all generalor specific examples. Accordingly, values, shapes, materials,components, layout and connection state of components, steps, the orderof steps, and so forth illustrated in the following embodiments, areonly exemplary, and do not restrict the present disclosure. Componentsin the following embodiments which are not included in an independentClaim indicating a highest order concept are described as optionalcomponents.

First Embodiment

FIG. 1 is a block diagram illustrating the configuration of a dialogprocessing control system according to a first embodiment. The dialogprocessing control system includes a device 100 that is the object ofoperation by speech (dialog processing control device), an externaldevice 101 connected by network to the device 100, by a wired local areanetwork (LAN), wireless LAN, or the like, and a dialog processing server200 that performs speech recognition processing and dialog processing inthe cloud, as illustrated in FIG. 1. For example, the device 100 is aTV, and the external device 101 is all devices connected by network tothe TV. The external device 101 includes an air conditioner connected tothe TV by ECHONET (a registered trademark), in addition to conventionalaudio-video (AV) devices such as hard disk recorders, AV amps, and soforth, connected by High-Definition Multimedia Interface (HDMI, aregistered trademark) or LAN. The external device 101 may furtherinclude lighting, white goods, and so forth. The dialog processingcontrol device is an example of an information processing device.

The dialog processing server 200 includes a communication unit 21, aspeech recognition unit 22, a third dialog processing unit 23, and afourth dialog processing unit 24. The communication unit 21 exchangesinformation such as speech, recognized text strings, dialog processingresults, and so forth, with the device 100. The speech recognition unit22 recognizes speech uttered by the user, that has been input via thecommunication unit 21. The speech recognition unit 22 also transmitsrecognized text strings, which are the results of speech recognition, tothe device 100 via the communication unit 21. The speech recognitionunit 22 speech recognition processing in the cloud, so a vast vocabularycontaining hundreds of thousands of words can be recognized.Conventional dynamic programming (DP) matching, Hidden Markov model(HMM), n-gram, and so forth may be used as methods for recognizingspeech. The dialog processing server 200 is included in an externaldevice.

The third dialog processing unit 23 and the fourth dialog processingunit 24 subject the recognized text string input from the device 100 viathe communication unit 21 to dialog processing for predetermineddifferent tasks. The third dialog processing unit 23 and fourth dialogprocessing unit 24 then transmit the results of dialog processing to thedevice 100 via the communication unit 21.

In the present embodiment, the third dialog processing unit 23 processesoperation tasks of the external device 101 connected to the device 100,and the fourth dialog processing unit 24 processes general Internetinformation search tasks, such as weather forecast, news, and so forth.In this case, the third dialog processing unit 23 confirms whether ornot the recognized text string corresponds to any of the operationcommands of the external device 101, and if corresponding, controlinformation to execute the operation of the corresponding externaldevice is output. The fourth dialog processing unit 24 extracts a searchkeyword from the recognized text string, and control information forexecuting an Internet information search by the search keyword isoutput. The dialog processing units 23 and 24 also output responseinformation for presenting results of the dialog processing to the user,besides each control information.

The third dialog processing unit 23 includes memory (omitted fromillustration) for example, the memory storing operation commands for theexternal device 101, control information that is the result of dialogprocessing, and response information, and dialog rules. Note that it isnot necessary for the third dialog processing unit 23 to include theaforementioned memory, and that it is sufficient for the dialogprocessing server 200 to include this memory. The dialog processing ofthe third dialog processing unit 23 is performed based on these dialogrules. For example, an example of dialog rules used by the third dialogprocessing unit 23 in a case where the external device 101 is an airconditioner is illustrated in FIG. 2. The third dialog processing unit23 reads the dialog rules in FIG. 2 from the memory, and performs dialogprocessing based on the dialog rules that have been read out. Anoperation command is words where the user instructs the external device101 to perform an operation, such as “turn on the air conditioner”,“cool air, please”, and so forth.

The operation contents are contents of operations that the externaldevice 101 actually performs with regard to the operation command. Forexample, the operation contents corresponding to the operation command“cool air, please” are “turn the power of the air conditioner on, andperform cooling operations”. Multiple operation commands may beregistered to each of the operation contents. For example, two phrases“turn on the air conditioner” and “start the air conditioner” areregistered as to the operation contents “turn the power of the airconditioner on, and perform cooling operations” in FIG. 2.

Control information is network commands for causing the external device101 that is the object of operation to execute the operation contents,and is transmitted from the device 100 to the external device 101 vianetwork. For example, in a case of causing the air conditioner toexecute the operation contents of “turn on the air conditioner” in theexample in FIG. 2, a network command (Air conditioner, On, Auto) istransmitted from the device 100 to the external device 101.

Response information is information presented to the user using audioand a screen when a recognized text string is accepted as an operationcommand illustrated in FIG. 2. For example, in a case where a recognizedtext string is accepted as the operation command “cool air, please”illustrated in FIG. 2, the response information “turning on cooler” ispresented to the user.

The dialog processing by the fourth dialog processing unit 24 is alsoperformed based on dialog rules, in the same way. However, there is onlyone dialog rule, and the processing contents thereof are to “extract asearch keyword from a recognized text string, and search Internetinformation using that search keyword”. The above dialog rule may beembedded in the fourth dialog processing unit 24 as an action that thefourth dialog processing unit 24 performs. Alternatively, the fourthdialog processing unit 24 may include memory (omitted fromillustration), with the above dialog rule being stored in this memory.In this case, the fourth dialog processing unit 24 reads the dialog ruleout from the memory, and performs dialog processing based on the dialogrule that has been read out. Note that it is not necessary for thefourth dialog processing unit 24 to include the aforementioned memory,and that it is sufficient for the dialog processing server 200 toinclude this memory. Control information output from the fourth dialogprocessing unit 24 as the result of dialog processing is a networkcommand to cause a general information search unit 13 of the device 100to search Internet information by a search keyword extracted from therecognized text string, for example. An example of response informationis “displaying search results on screen” or the like.

The device 100 includes a sound collection unit 1, a recognition controlunit 2, a speech recognition unit 3, a communication unit 4, a firstdialog processing unit 5, a second dialog processing unit 6, a taskpriority storage unit 7, a dialog task management unit 8, a dialogprocessing control unit 9, a device control unit 10, a device-relatedinformation search unit 11, an external device control unit 12, thegeneral information search unit 13, a graphical user interface (GUI)output unit 14, a screen display unit 15, and an audio output unit 16.

The configuration of the device 100 will now be described in detail. Thesound collection unit 1 is a microphone that inputs speech uttered by auser, and outputs the input speech to the recognition control unit 2 asaudio data. The recognition control unit 2 outputs the audio data inputfrom the sound collection unit 1 to the speech recognition unit 3 at thedevice side, and also outputs this audio data to the speech recognitionunit 22 of the dialog processing server 200 via the communication unit4. The recognition control unit 2 decides a recognized text string basedon speech recognition results obtained from the speech recognition unit3 or the speech recognition unit 22. The speech recognition unit 3recognizes the speech uttered by the user and input from the recognitioncontrol unit 2, and outputs a recognized text string to the recognitioncontrol unit 2 as a speech recognition result. The communication unit 4exchanges information such as audio data, recognized text strings,dialog processing results, and so forth, with the dialog processingserver 200. The speech recognition unit 3 can only recognize a smallvocabulary containing around several hundred words, since speechrecognition processing is performed in the device, but the responsespeed thereof is considerably faster than that of the speech recognitionunit 22 of the dialog processing server 200. Conventional DP matching,HMM, n-gram, and so forth, may be used as methods for recognizingspeech.

The first dialog processing unit 5 and the second dialog processing unit6 perform dialog processing of predetermined different tasks, based onthe recognized text string decided by the recognition control unit 2. Inthe present embodiment, the first dialog processing unit 5 processesbasic operation tasks of the device 100, and the second dialogprocessing unit 6 processes information search tasks relating to thedevice 100. In this case, the first dialog processing unit 5 confirmswhether a recognized text string corresponds to any of basic operationcommands of the device 100, and if corresponding, outputs controlinformation for executing the corresponding device operation. The seconddialog processing unit 6 extracts a search keyword from the recognizedtext string, and outputs control information for executing a search ofdevice related information using that search keyword. The first dialogprocessing unit 5 and second dialog processing unit 6 also each outputresponse information for presenting dialog processing results to theuser, besides outputting the control information.

The first dialog processing unit 5 includes memory (omitted fromillustration) for example. Correlations between operation commands ofthe device 100, control information obtained dialog processing results,and response information, are stored in this memory as dialog rules.Note that it is not necessary for the first dialog processing unit 5 toinclude this memory; it is sufficient for the device 100 to include thismemory. The dialog processing of the first dialog processing unit 5 isperformed based on these dialog rules. FIG. 3 illustrates an example ofdialog rules used by the first dialog processing unit 5 in a case wherethe device 100 is a TV. The first dialog processing unit 5 reads thedialog rules illustrated in FIG. 3 from the memory, for example, andperforms dialog processing based on the dialog rules that have been readout. The operation commands are words that the user speaks to instructthe device 100 to perform operations, such as “turn on the TV”, “programschedule”, and so forth, as illustrated in FIG. 3.

The operation contents are the contents of the operation that the device100 actually performs in response to the operation command. For example,the operation content corresponding to the operation command “turn onthe TV” is “turn the power of the TV on”. Multiple operation commandsmay be registered for each operation content. For example, two phrases,“raise the volume” and “volume up”, are registered to the operationcontent “raise volume by 3 levels” in FIG. 3.

Control information is device control commands to cause the device 100that is the object of operation to execute the operation contents, andis information input to the device control unit 10. For example, in acase of causing the TV to execute the operation content “turn on the TV”in the example in FIG. 3, a device control command (Power On) is inputto the device control unit 10.

Response information is information presented to the user using audioand a screen when a recognized text string is accepted as an operationcommand illustrated in FIG. 3. For example, in a case where a recognizedtext string is accepted as the operation command “turn off the TV”illustrated in FIG. 3, the response information “turning off TV” ispresented to the user.

The dialog processing by the second dialog processing unit 6 is alsoperformed based on dialog rules, in the same way. However, there is onlyone dialog rule, and the processing contents thereof are to “extract asearch keyword from a recognized text string, and search device-relatedinformation using that search keyword”. For example, if the device 100is a TV, and the device-related information is program information of aprogram schedule, the processing contents are to “extract a searchkeyword relating to program information from a recognized text string,and search program information from the program schedule using thatsearch keyword”. The above dialog rule may be embedded in the seconddialog processing unit 6 as an action that the second dialog processingunit 6 performs. Alternatively, the second dialog processing unit 6 mayinclude memory (omitted from illustration), with the above dialog rulebeing stored in this memory. In this case, the second dialog processingunit 6 reads the dialog rule out from the memory, and performs dialogprocessing based on the dialog rule that has been read out. Note that itis not necessary for the second dialog processing unit 6 to include theaforementioned memory, and that it is sufficient for the device 100 toinclude this memory. Control information output from the second dialogprocessing unit 6 as the result of dialog processing is a device controlcommand to cause the device-related information search unit 11 of thedevice 100 to search program information from a program schedule by asearch keyword extracted from the recognized text string, for example.An example of response information is “displaying search results ofprogram schedule on screen” or the like.

The task priority storage unit 7 stores the priorities of tasksprocessed by the first dialog processing unit 5 and second dialogprocessing unit 6 of the device 100 and the third dialog processing unit23 and fourth dialog processing unit 24 of the dialog processing server200. For example, in the present embodiment, the priority of basicoperation tasks of the device 100 is set to “1”, the priority of searchtasks for device-related information to “3”, the priority of externaldevice operation tasks for the dialog processing server 200 to “2”, andthe priority of general information search tasks using the Internet to“4”. Note that the smaller the priority number is, the higher thepriority is.

The dialog task management unit 8 obtains priorities corresponding toeach of the multiple tasks identified by the multiple sets of dialogprocessing priority based on speech recognition results. That is to say,the dialog task management unit 8 decides action schedules for the firstdialog processing unit 5 and second dialog processing unit 6 of thedevice 100, and the third dialog processing unit 23 and fourth dialogprocessing unit 24 of the dialog processing server 200, based on thepriority of the tasks stored in the task priority storage unit 7. Now,an action schedule for the dialog processing units defines how, and inwhich order, the dialog processing units (e.g., the first dialogprocessing unit 5, second dialog processing unit 6, third dialogprocessing unit 23, and fourth dialog processing unit 24) of the device100 and dialog processing server 200 are to operate. For example, theinformation of

the order in which the dialog processing units are to operate,

the timing to start action of the dialog processing units, and

the timing to execute processing results of the dialog processing units,is described in the action schedule, as illustrated in FIG. 4. An actionschedule is an example of an execution schedule.

Here, the timing to start operation of the dialog processing units meansthe timing at which the recognized text string is input to the dialogprocessing units. Also, the timing to execute processing results of thedialog processing units means the timing at which control signals toexecute the processing results of the dialog processing units are outputto the components that actually execute the processing results, such asthe device control unit 10, device-related information search unit 11,external device control unit 12, and general information search unit 13,for example.

For example, the timing at which the processing results of the firstdialog processing unit 5 are executed is the timing of executing a basicoperation task of the device 100. The timing at which the processingresults of the second dialog processing unit 6 are executed is thetiming of executing a device-related information search task. In thesame way, the timing at which the processing results of the third dialogprocessing unit 23 are executed is the timing of executing an operationtask of the external device 101, and the timing at which the processingresults of the fourth dialog processing unit 24 are executed is thetiming of executing a general Internet information search task.

The dialog processing control unit 9 controls the actions of the firstdialog processing unit 5 and second dialog processing unit 6 of thedevice 100, based on the action schedule decided at the dialog taskmanagement unit 8. The dialog processing control unit 9 also controlsthe actions of the third dialog processing unit 23 and fourth dialogprocessing unit 24 of the dialog processing server 200 via thecommunication unit 4 and communication unit 21.

Specifically, the dialog processing control unit 9 performs processingof inputting recognized text strings to each of the dialog processingunits based on the action schedule, and causing dialog processing tostart. The dialog processing control unit 9 also performs processing ofoutputting processing results obtained from the dialog processing unitsto one of the device control unit 10, device-related information searchunit 11, external device control unit 12, and general information searchunit 13, based on the action schedule. For example, control informationfor operating the device 100, which has been obtained from the firstdialog processing unit 5 of the device 100, is output to the devicecontrol unit 10. Control information obtained from the second dialogprocessing unit 6 of the device 100, for executing a device-relatedinformation search, is output to the device-related information searchunit 11. Control information for operating the external device 101,which has been obtained from the third dialog processing unit 23 of thedialog processing server 200 via the communication unit 4, is output tothe external device control unit 12. Control information for executing ageneral Internet information search, which has been obtained from thefourth dialog processing unit 24 of the dialog processing server 200 viathe communication unit 4, is output to the general information searchunit 13. The device control unit 10, device-related information searchunit 11, external device control unit 12, and general information searchunit 13 each correspond to an execution unit.

The device control unit 10 executes operations of the device 100 basedon the control information input from the dialog processing control unit9. The device-related information search unit 11 executes adevice-related information search based on the control information inputfrom the dialog processing control unit 9. The external device controlunit 12 executes operation of external devices based on controlinformation input from the dialog processing control unit 9. The generalinformation search unit 13 executes a generate Internet informationsearch task based on control information input from the dialogprocessing control unit 9.

The GUI output unit 14 has the screen display unit 15 that is a displayor the like, and the audio output unit 16 that is a speaker or the like.The screen display unit 15 displays operation results of the device 100executed by the device control unit 10, operation results of theexternal device 101 executed by the external device control unit 12,search results of device-related information search for by thedevice-related information search unit 11, and search results forgeneral Internet information search for by the general informationsearch unit 13. A notification sound is output at the same time from theaudio output unit 16, synchronously with the screen display.

The screen display unit 15 also outputs on a screen the responseinformation obtained from the dialog processing units 5, 6, 23, and 24,via the dialog processing control unit 9. In the same way, the audiooutput unit 16 performs voice synthesis for the response informationobtained from the dialog processing units 5, 6, 23, and 24, via thedialog processing control unit 9, and outputs as response audio.

Actions performed by the system in a case where a user utters speechcommands related to each of multiple tasks identified by dialogprocessing (hereinafter, also referred to as “dialog tasks”) in thedialog processing control system according to the present embodimentwill be described. A specific description will be made by way of anexample where the device 100 is a TV and the external device 101 is anair conditioner. In the following description, the TV that is an exampleof the device 100 will be described as “TV 100”, and the air conditionerthat is an example of the external device 101 will be described as “airconditioner 101”. Accordingly, the tasks of the first dialog processingunit 5 are basic operation tasks such as channel selection, volumeadjustment, and so forth, of the TV, the dialog rules thereof beingillustrated in FIG. 3. The tasks of the second dialog processing unit 6are program information searching in a program schedule. The tasks ofthe third dialog processing unit 23 are operation tasks such as poweroperation, temperature setting, and so forth, of the air conditioner,the dialog rules thereof being illustrated in FIG. 2. The tasks of thefourth dialog processing unit 24 are searching tasks of general Internetinformation, such as weather forecast, news, and so forth.

In a case where the user performs speech operation of the TV 100 and airconditioner 101 in the above-described dialog processing control system,the user utters a speech command toward the sound collection unit 1 ofthe TV 100. For example, in a case where the user wants to operate thevolume of the TV, the user may say “raise the volume”, or may say “lowerthe temperature” to lower the temperature set to the air conditioner. Inthe same way, in a case of performing an information search by voice, ifthe user wants to search for titles of TV dramas that will be broadcasttomorrow from the TV schedule, the user may say “dramas on tomorrow” orthe like, or may say “weather for Tokyo” or the like to search forweather forecasts from the Internet.

FIG. 5 is a flowchart illustrating the flow of processing when the userinputs a speech command to the sound collection unit 1 of the device100. The flow of actions of the dialog processing control system will bedescribed below with reference to FIG. 5.

The sound collection unit 1 of the TV 100 collects the voice of theuser, and outputs audio data including the collected voice to therecognition control unit 2 (S1). The recognition control unit 2 causesthe speech recognition unit 3 of the TV 100 and the speech recognitionunit 22 of the dialog processing server 200 to subject the audio datainput from the sound collection unit 1 to speech recognition processing,and finds a recognized text string based on the speech recognitionresults (S2). Specifically, the following series of actions isperformed.

The recognition control unit 2 outputs the audio data input from thesound collection unit 1 to the speech recognition unit 3. At the sametime, the recognition control unit 2 also outputs the audio data inputfrom the sound collection unit 1 from the communication unit 4 of the TV100 to the speech recognition unit 22 of the dialog processing server200 via the communication unit 21 of the dialog processing server 200.

The speech recognition unit 3 performs speech recognition on the inputaudio data, and outputs a speech recognition result thereof to therecognition control unit 2. That is to say, the speech recognition unit3 obtains speech recognition result, which are text data obtained byspeech recognition processing. In the same way, the speech recognitionunit 22 of the dialog processing server 200 performs speech recognitionon the input audio data, and outputs a speech recognition result thereofto the recognition control unit 2 from the communication unit 21 of thedialog processing server 200 via the communication unit 4 of the TV 100.Normally, the speech recognition result from the speech recognition unit3 of the TV 100 are obtained before the speech recognition result fromthe speech recognition unit 22 of the dialog processing server 200, sothe recognition control unit 2 first confirms the speech recognitionresult of the speech recognition unit 3. If the speech recognition unit3 has succeeded in recognition, the recognition control unit 2 outputs atext string that is the speech recognition results to the dialogprocessing control unit 9. If the speech recognition unit 3 fails inrecognition, the recognition control unit 2 then confirms the speechrecognition result from the speech recognition unit 22 of the dialogprocessing server 200. IF the speech recognition unit 22 succeeds inrecognition, the recognition control unit 2 outputs a text string thatis the speech recognition result to the dialog processing control unit9. If this recognition fails as well, the recognition control unit 2presents the user with information to the effect that recognition hasfailed, using the screen display unit 15 and/or audio output unit 16 ofthe GUI output unit 14, and prompts the user to speak again.

Upon receiving a recognized text string from the recognition controlunit 2, the dialog processing control unit 9 obtains the respectiveaction schedules from each of the dialog processing units, i.e., thefirst dialog processing unit 5, second dialog processing unit 6, thirddialog processing unit 23, and fourth dialog processing unit 24, fromthe dialog task management unit 8 (S3). Note that the action schedulesare decided beforehand by the dialog task management unit 8, based onthe priority of the dialog processing tasks stored in the task prioritystorage unit 7. Information stipulating the actions of the dialogprocessing units such as described above are described in the actionschedule such as illustrated in FIG. 4, for example. The followingactions will be described here with reference to the action schedule inFIG. 4.

The dialog processing control unit 9 first inputs the recognized textstring obtained from the recognition control unit 2 to the first dialogprocessing unit 5 of the TV 100 (S4). The dialog processing control unit9 also transmits the recognized text string from the communication unit4 of the TV 100 to the communication unit 21 of the dialog processingserver 200 at almost the same time, to be input to the third dialogprocessing unit 23 of the dialog processing server 200 (S5).

The first dialog processing unit 5 performs dialog processing of basicoperations of the TV 100, and outputs the processing results thereof tothe dialog processing control unit 9. Note that the dialog processing ofthe first dialog processing unit 5 is performed based on the dialogrules in FIG. 3, as described earlier. Specifically, the first dialogprocessing unit 5 confirms whether or not the recognized text stringthat has been input matches any of the device operation commands of theTV described in the dialog rules (S6). In a case of matching (a case ofY in S6), the first dialog processing unit 5 reads out the controlinformation and response information corresponding to that operationcommand, and outputs to the dialog processing control unit 9. In a caseof not matching (a case of N in S6), the first dialog processing unit 5determines that the input recognized text string is not a basicoperation command for the TV 100, and outputs dialog processingrejection information to the dialog processing control unit 9.

In a case where the dialog processing has succeeded at the first dialogprocessing unit 5, the dialog processing control unit 9 executes thedevice operation command for the TV 100 that is the result of the dialogprocessing at the first dialog processing unit 5, based on the actionschedule (S7). Specifically, the dialog processing control unit 9outputs control information obtained from the first dialog processingunit 5 to the device control unit 10, and outputs response informationto the screen display unit 15 and/or audio output unit 16 of the GUIoutput unit 14. The device control unit 10 executes the operation of theTV 100 based on the control information input from the dialog processingcontrol unit 9. The device control unit 10 also presents the responseinformation input from the dialog processing control unit 9 to the uservia the screen display unit 15 and/or audio output unit 16, and alsopresents the operation results of the TV 100 executed by the devicecontrol unit 10. The processing flow then returns to the start point(A), and stands by for the user to speak again.

The following is description of a specific example with regard to theflow of actions in dialog processing relating to basic operation tasksof the TV 100. For example, if the user utters “switch to Channel 2” tothe sound collection unit 1, and the speech recognition unit 3 succeedsin speech recognition, the recognized text string “switch to Channel 2”is input to the first dialog processing unit 5 (S4). The first dialogprocessing unit 5 subjects the input recognized text string to dialogprocessing relating to basic operation tasks of the TV 100. Therecognized text string “switch to Channel 2” matches an operationcommand described in the dialog rules in FIG. 3 (Y in S6), so the firstdialog processing unit 5 outputs corresponding control information(Channel, 2) and response information “switching to Channel 2” to thedialog processing control unit 9.

Next, the dialog processing control unit 9 outputs the received controlinformation (Channel, 2) to the device control unit 10 (S7). The dialogprocessing control unit 9 also outputs the response information“switching to Channel 2” to the screen display unit 15 and/or the audiooutput unit 16. The device control unit 10 changes the channel of the TV100 to Channel 2, based on the received control information. The screendisplay unit 15 and/or audio output unit 16 perform screen displayand/or speech synthesis and audio output of the response information“switching to Channel 2”. Thereafter, the program on Channel 2 is shown.

This so far has been description of a specific example of the flow ofactions in dialog processing relating to basic operation tasks of the TV100. Now, in a case where dialog processing at the first dialogprocessing unit 5 has failed, i.e., in a case where the dialogprocessing control unit 9 has received dialog processing rejectioninformation from the first dialog processing unit 5 (a case of N in S6),the dialog processing control unit 9 receives the results of dialogprocessing transmitted from the third dialog processing unit 23 of thedialog processing server 200, based on the action schedule (S8).

Note that normally, dialog processing of the first dialog processingunit 5 within the TV 100 is not influenced by network communicationstate and so forth, as the dialog processing performed at the thirddialog processing unit 23 in the dialog processing server 200 is, andaccordingly ends quickly. Accordingly, there are cases where the dialogprocessing control unit 9 has to wait for a while from obtaining dialogprocessing results of the first dialog processing unit 5 until receivingthe dialog processing results of the third dialog processing unit 23.

The third dialog processing unit 23 of the dialog processing server 200subjects the recognized text string to dialog processing for operationtasks of the air conditioner 101, and transmits the processing resultsfrom the communication unit 21 to the dialog processing control unit 9of the TV 100, via the communication unit 4. The dialog processing ofthe third dialog processing unit 23 is performed based on the dialogrules illustrated in FIG. 2, as described earlier. Specifically, thethird dialog processing unit 23 confirms whether or not the inputrecognized text string matches any of the operation commands for the airconditioner 101 that are described in the dialog rules. In a case wherethere is a match, the third dialog processing unit 23 reads out thecontrol information and response information corresponding to thatoperation command, and outputs these to the dialog processing controlunit 9. In a case where there is not match, the third dialog processingunit 23 determines that the input recognized text string is not anoperation command for the air conditioner 101, and transmits dialogprocessing rejection information to the dialog processing control unit9.

After having received the results of the dialog processing at the thirddialog processing unit 23 from the dialog processing server 200, thedialog processing control unit 9 confirms the processing results thereof(S9). In a case where the dialog processing at the third dialogprocessing unit 23 has succeeded, that is to say, in a case where therecognized text string is an air conditioner operation command (a caseof Y in S9), the dialog processing control unit 9 executes the deviceoperation command for the air conditioner 101, which is the result ofthe dialog processing of the third dialog processing unit 23, based onthe action schedule (S10). Specifically, the dialog processing controlunit 9 outputs control information obtained from the third dialogprocessing unit 23 to the external device control unit 12. The dialogprocessing control unit 9 also outputs response information to thescreen display unit 15 and/or the audio output unit 16. The externaldevice control unit 12 executes operation of the air conditioner 101based on the control information input from the dialog processingcontrol unit 9. The external device control unit 12 also, via the screendisplay unit 15 and/or audio output unit 16, presents the responseinformation input from the dialog processing control unit 9 to the user,and presents the operation results of the air conditioner 101 executedby the external device control unit 12 to the user. The processing flowthen returns to the start point (A), and stands by for the user to speakagain.

A specific example will be described below regarding the flow of actionsof dialog processing relating to operation tasks of the air conditioner101. For example, if the user has spoken “turn on the air conditioner”to the sound collection unit 1, and either one of the speech recognitionunit 3 and speech recognition unit 22 has succeeded in speechrecognition, the recognition control unit 2 inputs the recognized textstring “turn on the air conditioner” to the dialog processing controlunit 9. Next, the dialog processing control unit 9 inputs the recognizedtext string “turn on the air conditioner” to the first dialog processingunit 5 of the TV 100 (S4). The dialog processing control unit 9 alsoinputs this recognized text string to the third dialog processing unit23 of the dialog processing server 200 as well (S5). The first dialogprocessing unit 5 subjects the input recognized text string to dialogprocessing relating to basic operation tasks for the TV 100. Therecognized text string “turn on the air conditioner” does not match anyof the operation commands described in the dialog rules in FIG. 3, sothe first dialog processing unit 5 outputs dialog processing rejectioninformation to the dialog processing control unit 9 (a case of N in S6).

In parallel with the dialog processing of the first dialog processingunit 5, the third dialog processing unit 23 of the dialog processingserver 200 subjects the input recognized text string to dialogprocessing relating to operation tasks of the air conditioner 101. Therecognized text string “turn on the air conditioner” matches anoperation command described in the dialog rules in FIG. 2, so the thirddialog processing unit 23 transmits the corresponding controlinformation (Air conditioner, On, Auto) and response information“turning on cooler” to the dialog processing control unit 9 of the TV100.

After the dialog processing at the first dialog processing unit 5 of theTV 100 has been rejected, the dialog processing control unit 9 receivescontrol information and response information that are the results of thedialog processing at the third dialog processing unit 23 of the dialogprocessing server 200 (S8). The dialog processing at the third dialogprocessing unit 23 has been successful, i.e., the recognized text stringis an operation command for the air conditioner 101 (a case of Y in S9),so the dialog processing control unit 9 outputs the received controlinformation (Air conditioner, On, Auto) to the external device controlunit 12 (S10). The dialog processing control unit 9 also outputs theresponse information “turning on cooler” to the screen display unit 15and/or audio output unit 16. The external device control unit 12 turnsthe power of the air conditioner 101 on based on the received controlinformation, and starts automatic operation. The screen display unit 15and/or audio output unit 16 perform text display on a screen and/orspeech synthesis and audio output of the response information “turningon cooler”, and thereafter present the operation results of the airconditioner 101 to the user.

This so far has been description of a specific example of the flow ofactions in dialog processing relating to basic operation tasks of theair conditioner 101. Now, in a case where dialog processing at the thirddialog processing unit 23 has failed, i.e., in a case where the dialogprocessing control unit 9 has received dialog processing rejectioninformation from the third dialog processing unit 23 of the dialogprocessing server 200 (a case of N in S9), the dialog processing controlunit 9 inputs the recognized text string obtained from the recognitioncontrol unit 2 to the second dialog processing unit 6, in accordancewith the action schedule (S11). The dialog processing control unit 9also transmits the recognized text string from the communication unit 4of the TV 100 to the communication unit 21 of the dialog processingserver 200 at almost the same time, to be input to the fourth dialogprocessing unit 24 of the dialog processing server 200 (S12).

The second dialog processing unit 6 performs an information searchregarding the TV 100 using the recognized text string. Specifically, thesecond dialog processing unit 6 performs dialog processing of a programinformation search task using a program schedule, and outputs theprocessing results thereof to the dialog processing control unit 9. Thedialog processing of the second dialog processing unit 6 is performedbased on the above-described dialog rules. Specifically, the seconddialog processing unit 6 determines whether or not the input recognizedtext string is a program information search command (S13). Determinationmethods include determining whether or not a search keyword forsearching for program information, e.g., date, genre, program title, orthe like, can be extracted from the recognized text string. That is tosay, if a search keyword is successfully extracted, the second dialogprocessing unit 6 determines that this is a program information searchcommand (a case of Y in S13), and generates control information forexecuting a program information search from the program schedule of theTV 100 using the extracted search keyword, which is output to the dialogprocessing control unit 9. The second dialog processing unit 6 alsooutputs response information for presenting the results of the dialogprocessing to the user to the dialog processing control unit 9. On theother hand, in a case of determining that the input recognized textstring is not a program information search command (a case of N in S13),i.e., in a case where no search keyword for searching for programinformation could be extracted from the recognized text string, thesecond dialog processing unit 6 transmits dialog processing rejectioninformation to the dialog processing control unit 9.

In a case where the dialog processing at the second dialog processingunit 6 is successful, the dialog processing control unit 9 executes aprogram information search using the program schedule that is the resultof the dialog processing at the second dialog processing unit 6, basedon the action schedule (S14). Specifically, the dialog processingcontrol unit 9 outputs the control information obtained from the seconddialog processing unit 6 to the device-related information search unit11. The dialog processing control unit 9 also outputs the responseinformation to the screen display unit 15 and/or audio output unit 16 ofthe GUI output unit 14. The device-related information search unit 11performs a program information search using the program schedule of theTV 100, based on the control information input from the dialogprocessing control unit 9. The device-related information search unit 11presents the response information input from the dialog processingcontrol unit 9 via the screen display unit 15 and/or audio output unit16. In a case where there are at least one or more hits for programinformation as a result of the program information search, thedevice-related information search unit 11 presents the programinformation that has been found to the user via the screen display unit15 and/or audio output unit 16 (S15). The processing flow then returnsto the start point (A), and stands by for the user to speak again.

The following is a specific example regarding dialog processing relatingto a program information search task. For example, if the user utters“dramas on tomorrow” to the sound collection unit 1, and either of thespeech recognition unit 3 and speech recognition unit 22 succeeds inspeech recognition, the recognition control unit 2 inputs the recognizedtext string “dramas on tomorrow” to the dialog processing control unit9. Next, the dialog processing control unit 9 inputs the recognized textstring “dramas on tomorrow” to the first dialog processing unit 5 of thedevice 100 (S4). The dialog processing control unit 9 also inputs thisrecognized text string to the third dialog processing unit 23 of thedialog processing server 200 as well (S5). The first dialog processingunit 5 and third dialog processing unit 23 both subject the recognizedtext string “dramas on tomorrow” to dialog processing regarding basicoperation tasks for the TV 100 and operation tasks for the airconditioner 101, but there is no match with the operation commandsdescribed in the dialog rules in FIGS. 2 and 3, so dialog processingrejection information is sequentially returned to the dialog processingcontrol unit 9 from both dialog processing units.

In a case of having received dialog processing rejection informationfrom the third dialog processing unit 23 (a case of N in S9), the dialogprocessing control unit 9 inputs the recognized text string “dramas ontomorrow” to the second dialog processing unit 6 of the TV 100 (S11).The second dialog processing unit 6 subjects the recognized text string“dramas on tomorrow” to dialog processing with regard to programinformation search tasks. Specifically, the second dialog processingunit 6 determines whether or not the recognized text string “dramas ontomorrow” is a program information search command, by whether or not asearch keyword for searching for program information can be extracted(S13). Here, a date keyword “tomorrow” and a genre keyword “drama” forsearching for program information can be extracted, so the second dialogprocessing unit 6 determines that the recognized text string is aprogram information search command (the processing of Y in S13). Next,the second dialog processing unit 6 generates control information for aprogram information search using the date keyword “tomorrow” and genrekeyword “drama”, and outputs this control information to the dialogprocessing control unit 9. The second dialog processing unit 6 outputsto the dialog processing control unit 9 response information forpresenting the results of the dialog processing to the user, e.g.,“searching program schedule for dramas on tomorrow”.

Upon receiving the control information for performing a programinformation search, which is the result of the dialog processing at thesecond dialog processing unit 6, the dialog processing control unit 9outputs this control information to the device-related informationsearch unit 11 (S14). The dialog processing control unit 9 also outputsthe response information “searching program schedule for dramas ontomorrow” on the screen display unit 15 and/or audio output unit 16. Thescreen display unit 15 and/or audio output unit 16 perform text displayand/or speech synthesis and audio output of the response information“searching program schedule for dramas on tomorrow”. The device-relatedinformation search unit 11 searches the program schedule of the TV 100for program information matching keywords, based on the input controlinformation for program information search, i.e., the date keyword“tomorrow” and genre keyword “drama”. In a case where there are at leastone or more hits for program information corresponding to the searchkeywords as a result of the program information search, thedevice-related information search unit 11 presents the search resultsthat have been found to the user via the screen display unit 15 and/oraudio output unit 16 (S15).

This so far has been description of a specific example of the flow ofactions in dialog processing relating to a program information searchtask. Now, in a case where dialog processing at the second dialogprocessing unit 6 has failed, i.e., in a case where the dialogprocessing control unit 9 has received dialog processing rejectioninformation from the second dialog processing unit 6 (a case of N inS13), The dialog processing control unit 9 receives the results of thedialog processing transmitted from the fourth dialog processing unit 24of the dialog processing server 200, based on the action schedule (S16).

The fourth dialog processing unit 24 of the dialog processing server 200performs an Internet information search using the recognized textstring, specifically dialog processing of a general information searchtask such as weather forecast, news, etc., and outputs the processingresults thereof to the dialog processing control unit 9. The dialogprocessing at the fourth dialog processing unit 24 is performed based onthe above-described dialog rules. Specifically, the fourth dialogprocessing unit 24 determines whether or not the input recognized textstring is a general information search command. Determination methodsinclude determining whether or not a search keyword for searching forgeneral information on the Internet, e.g., search keywords necessary forsearching weather, news, maps, or the like, can be extracted from therecognized text string. That is to say, if a search keyword issuccessfully extracted, the fourth dialog processing unit 24 determinesthat this is a general information search command, generates controlinformation for executing a general information search on the Internetusing the extracted search keyword, and outputs this control informationto the dialog processing control unit 9. The fourth dialog processingunit 24 also outputs response information for presenting the results ofthe dialog processing to the user to the dialog processing control unit9. On the other hand, in a case of determining that the input recognizedtext string is not a general information search command, i.e., in a casewhere no search keyword for a general information search could beextracted from the recognized text string, the fourth dialog processingunit 24 transmits dialog processing rejection information to the dialogprocessing control unit 9.

The dialog processing control unit 9 receives the results of dialogprocessing at the fourth dialog processing unit 24 from the dialogprocessing server 200, and confirms the processing results (S17). In acase where the dialog processing at the fourth dialog processing unit 24is successful, i.e., in a case where the recognized text string isdetermined to be a general information search command (Y in S17), thedialog processing control unit 9 executes an Internet generalinformation search in accordance with the result of the dialogprocessing at the fourth dialog processing unit 24, based on the actionschedule (S18). Specifically, the dialog processing control unit 9outputs the control information obtained from the fourth dialogprocessing unit 24 to the general information search unit 13. The dialogprocessing control unit 9 also outputs the response information to thescreen display unit 15 and/or audio output unit 16 of the GUI outputunit 14.

The general information search unit 13 performs a general informationsearch using the Internet, based on control information input from thedialog processing control unit 9. The general information search unit 13also presents the user with the response information input from thedialog processing control unit 9 via the screen display unit 15 and/oraudio output unit 16. In a case where there are at least one or morehits for general information as a result of the general informationsearch, the general information search unit 13 presents the generalinformation that has been found to the user via the screen display unit15 and/or audio output unit 16 (S19). The processing flow then returnsto the start point (A), and stands by for the user to speak again.

The following is a specific example regarding an operation flow ofdialog processing relating to a general information search task. Forexample, if the user utters “weather for Tokyo” to the sound collectionunit 1, and either of the speech recognition unit 3 and speechrecognition unit 22 succeeds in speech recognition, the recognitioncontrol unit 2 inputs the recognized text string “weather for Tokyo” tothe dialog processing control unit 9. Next, the dialog processingcontrol unit 9 inputs the recognized text string “weather for Tokyo” tothe first dialog processing unit 5 of the TV 100 (S4). The dialogprocessing control unit 9 also inputs this recognized text string to thethird dialog processing unit 23 of the dialog processing server 200 aswell (S5). The first dialog processing unit 5 and third dialogprocessing unit 23 both subject the recognized text string “weather forTokyo” to dialog processing regarding basic operation tasks for the TV100 and operation tasks for the air conditioner 101, but there is nomatch with the operation commands described in the dialog rules in FIGS.2 and 3, so dialog processing rejection information is sequentiallyreturned to the dialog processing control unit 9 from both dialogprocessing units.

In a case of having received dialog processing rejection informationfrom the third dialog processing unit 23 (a case of N in S9), the dialogprocessing control unit 9 inputs the recognized text string “weather forTokyo” to the second dialog processing unit 6 of the TV 100 (S11). Thedialog processing control unit 9 also inputs this recognized text stringto the fourth dialog processing unit 24 of the dialog processing server200 as well (S12). The second dialog processing unit 6 subjects therecognized text string “weather for Tokyo” to dialog processing withregard to program information search tasks, but no keyword for searchingfor program information can be extracted from the recognized textstring, so dialog processing rejection information is output to thedialog processing control unit 9 (processing of N in S13).

In parallel with the dialog processing at the second dialog processingunit 6, the fourth dialog processing unit 24 of the dialog processingserver 200 subjects the input recognized text string to dialogprocessing relating to a general information search task. Specifically,the fourth dialog processing unit 24 determines whether or not therecognized text string is a general information search command, bywhether or not a search keyword for performing a general informationsearch can be extracted from the recognized text string “weather forTokyo”. Here, an area keyword “Tokyo” and information type keyword“weather” for performing a general information search can be extracted,so the fourth dialog processing unit 24 determines that the recognizedtext string is a general information search command. Next, the fourthdialog processing unit 24 generates control information of performing ageneral information search on the Internet using the area keyword“Tokyo” and information type keyword “weather”, and outputs this controlinformation to the dialog processing control unit 9. The fourth dialogprocessing unit 24 also outputs response information to the dialogprocessing control unit 9 for presenting the results of the dialogprocessing to the user, such as “searching Internet for weather inTokyo”.

After the dialog processing of the second dialog processing unit 6 ofthe TV 100 has been rejected, the dialog processing control unit 9receives the control information and response information that are theresult of the dialog processing at the fourth dialog processing unit 24of the dialog processing server 200 (S16). The dialog processing at thefourth dialog processing unit 24 has been successful, i.e., therecognized text string is a command for a general information search onthe Internet (a case of Y in S17), so the dialog processing control unit9 outputs the received control information to the general informationsearch unit 13. The dialog processing control unit 9 also outputs thereceived response information “searching Internet for weather in Tokyo”to the screen display unit 15 and/or audio output unit 16.

Based on the control information for the general information search thathas been input, i.e., the area keyword “Tokyo” and information typekeyword “weather”, the general information search unit 13 searches forinformation on the Internet corresponding to these keywords. In a casewhere there are at least one or more hits for the search keywords as aresult of the information search, the general information search unit 13presents the search results to the user via the screen display unit 15and/or audio output unit 16 (S19).

This so far has been description of dialog processing relating to ageneral information search task. Now, in a case where dialog processingat the fourth dialog processing unit 24 has failed, i.e., in a case ofreceiving dialog processing rejection information from the fourth dialogprocessing unit 24 (a case of N in S17), the dialog processing controlunit 9 makes a presentation to the user to the effect that all dialogprocessing has failed (S20). For example, the dialog processing controlunit 9 presents “not able to understand what you said” or the like tothe user via the screen display unit 15 and/or audio output unit 16. Theprocessing flow then returns to the start point (A), and stands by forthe user to speak again.

As described above, in the dialog processing control system according tothe present embodiment, the dialog task management unit 8 decides theaction schedule of the first dialog processing unit 5 and second dialogprocessing unit 6 of the TV 100 and the third dialog processing unit 23and fourth dialog processing unit 24 of the dialog processing server200, based on the priority of each task stored in the task prioritystorage unit 7 beforehand. When a recognized text string, which is theresult of speech recognition of an utterance by the user, is input tothe dialog processing control unit 9, the dialog processing control unit9 controls the actions of the dialog processing units at the TV 100 sideand the dialog processing units at the dialog processing server 200side, based on the action schedule. Accordingly, each dialog processingcan be controlled in the order according to the priority of each task,even in a case where dialog processing containing multiple differenttasks with different priorities is to be performed in parallel and atthe same time at the TV 100 side and dialog processing server 200 side.

For example, a case will be considered where dialog processing relatingto basic operations of the TV 100, which is a task of which the priorityis first, and dialog processing relating to program informationsearching, which is a task of which the priority is third, are performedat the TV 100 side, and at the same time, dialog processing relating tooperations of the air conditioner 101, which is a task of which thepriority is second, and dialog processing relating to generalinformation searching on the Internet, which is a task of which thepriority is fourth, are performed at the dialog processing server 200side, in parallel, as described in the embodiment above. In this case,even if the response of the dialog processing results regarding airconditioner operations from the dialog processing server 200 is late dueto the effects of the network environment or the like, the actions ofeach dialog processing is controlled based on the action scheduledecided from the priorities of the tasks. Accordingly, the results ofdialog processing priority relating to operations of the air conditioner101 at the dialog processing server 200 having high priority can beexecuted first, and not the results of dialog processing relating to theprogram information searched at the TV 100 side having low priority.

That is to say, in a case where dialog processing of a task at theserver side having high priority, and dialog processing of a task at thedevice side having low priority, are being processed in parallel at thesame time, the processing results at the server side can be executed inaccordance with priority rather than the processing results at thedevice side, even if the response of processing results from the serveris delayed due to the effects of the network environment or the like.

Second Embodiment

A modification of the dialog processing control system according to thefirst embodiment described above will be described in a secondembodiment. FIG. 6 is a block diagram illustrating the configuration ofthe dialog processing control system according to the second embodiment.The dialog processing control system according to the present embodimenthas almost the same configuration as the dialog processing controlsystem according to the first embodiment, the only difference being thata device state management unit 19 is provided to the device 100 that isa component of the dialog processing control system according to thefirst embodiment. Accordingly, configurations in the dialog processingcontrol system according to the second embodiment that are the same asthose in the dialog processing control system according to the firstembodiment are denoted by the same reference numerals as in the firstembodiment. Only configurations that differ from the first embodimentwill be described, and configurations that are the same as in the firstembodiment will be omitted from description.

The device state management unit 19 in the dialog processing controlsystem according to the second embodiment manages the state of thedevice 100. The state of the device 100 is the state of connection tothe dialog processing server 200, the state of the device 100 operableby the device control unit 10, and the state of the external device 101operable by the external device control unit 12. If the device 100 is aTV for example, the state of the device operable by the device controlunit 10 is the state such as the channel selected, volume, screenoutput, and so forth, of the TV 100. If the external device 101 is anair conditioner for example, the state of the device operable by theexternal device control unit 12 is the connection state of the TV andair conditioner, and the operating state of the air conditioner (power,mode, temperature settings) and so forth.

The dialog task management unit 8 decides the action schedule of thefirst dialog processing unit 5 and second dialog processing unit 6 ofthe device 100, and the third dialog processing unit 23 and fourthdialog processing unit 24 of the dialog processing server 200, based onthe priority of each of the tasks stored in the task priority storageunit 7 and on the current state of the device 100 managed by the devicestate management unit 19. The action schedule for the dialog processingunits defines how, and in which order, the dialog processing units 5, 6,23, 24 of the device 100 and dialog processing server 200 are tooperate. Thus, the point of the second embodiment that differs from theconfiguration of the first embodiment is that not only the priorities ofeach of the tasks stored in the task priority storage unit 7, but alsothe state of the device 100 managed by the device state management unit19, is used when the dialog task management unit 8 decides the actionschedule of the first through fourth dialog processing units.

Now, the operations of the dialog task management unit 8, in a case ofupdating the action schedule of the dialog processing units inaccordance with the state of the device 100, in the dialog processingcontrol system according to the second embodiment will be described.Specific description will be made below by way of an example where thedevice 100 is a TV and the external device 101 is an air conditioner. Inthe following description, the TV that is an example of the device 100will be described as “TV 100”, and the air conditioner that is anexample of the external device 101 will be described as “air conditioner101”. Accordingly, the tasks of the first dialog processing unit 5 arebasic operation tasks such as channel selection, volume adjustment, andso forth, of the TV, the dialog rules thereof being illustrated in FIG.3. The tasks of the second dialog processing unit 6 are programinformation searching in a program schedule. The tasks of the thirddialog processing unit 23 are operation tasks such as power operation,temperature setting, and so forth, of the air conditioner, the dialogrules thereof being illustrated in FIG. 2. The tasks of the fourthdialog processing unit 24 are searching tasks of general Internetinformation, such as weather forecast, news, and so forth.

FIG. 7 is a flowchart illustrating the flow of processing when thedialog task management unit 8 updates the action schedule of the dialogprocessing units. The operations of the dialog task management unit 8will now be described with reference to FIG. 7.

The dialog task management unit 8 first obtains the state of the TV 100that the device state management unit 19 is managing (S31). Next, thedialog task management unit 8 uses the state of the TV 100 that has beenobtained to confirm whether or not the TV 100 is connected to the dialogprocessing server 200 by network, and is available (S32). In a casewhere the dialog processing server 200 is found to be available as theresult of the confirmation (a case of Y in S32), the dialog taskmanagement unit 8 obtains, from the task priority storage unit 7,priority “4” for the general information search on the Internet that thefourth dialog processing unit 24 processes (S33).

Next, in the same way, the dialog task management unit 8 uses the stateof the TV 100 that has been obtained to confirm whether or not the airconditioner 101 is controllable from the TV 100 (S34). In a case wherethe air conditioner 101 is found to be controllable as the result of theconfirmation (a case of Y in S34), the dialog task management unit 8obtains, from the task priority storage unit 7, priority “2” for theoperation task for the air conditioner 101 that the third dialogprocessing unit 23 processes (S35), and the flow advances to S36. Thatis to say, the dialog task management unit 8 obtains the priority inaccordance with controllability, indicating whether or not controllable.

On the other hand, in a case where the dialog processing server 200 isnot available, due to a reason such as the TV 100 not being connected tothe network or the system of the dialog processing server 200 being down(a case of N in S32), the dialog task management unit 8 does not obtainthe priority of the task for the fourth dialog processing unit 24, andthe flow advances to S36. In the same way, in a case where the airconditioner 101 cannot be controlled from the TV 100, due to a reasonsuch as the TV 100 and air conditioner 101 not being connected bynetwork or the air conditioner 101 malfunctioning (a case of N in S34),the dialog task management unit 8 does not obtained the priority of thetask for the third dialog processing unit 23, and the flow advances toS36.

In S36, the dialog task management unit 8 obtains the priority “1” ofbasic operation tasks of the TV 100 that the first dialog processingunit 5 processes, and the priority “3” of the program information searchtask for the TV 100 that the second dialog processing unit 6 processes,that are stored in the task priority storage unit 7.

The dialog task management unit 8 then updates the action schedule ofthe dialog processing units based on the priorities of the tasksobtained in accordance with the state of the TV 100 (S37).

Finally, the dialog task management unit 8 notifies the dialogprocessing control unit 9 that the action schedule has been updated inaccordance with the state of the TV 100 (S38). This so far has been adescription of the operation flow of processing where the dialog taskmanagement unit 8 updates the action schedule of the dialog processingunits.

Now, the actions of the dialog processing units are controlled by thedialog processing control unit 9 based on the action schedule updated inaccordance with the state of the TV 100 in the dialog processing controlsystem according to the second embodiment. Note however, that in a casewhere the TV 100, dialog processing server 200, and air conditioner 101are correctly connected, the flow of operations of the system when theuser has spoken a command is the same as that of the first embodimentillustrated in FIG. 5.

However, in a case where the dialog processing server 200 is availablebut the air conditioner 101 cannot be controlled from the TV 100, forexample, the action schedule is decided based on the priorities of thetasks performed by the first dialog processing unit 5, second dialogprocessing unit 6, and fourth dialog processing unit 24, with the taskpriority of the third dialog processing unit 23 omitted. That is to say,the action schedule is updated by the dialog task management unit 8 suchthat dialog processing for basic operation tasks of the TV 100 isperformed first, dialog processing for a program information search taskis performed next, and finally dialog processing of a generalinformation search task using the Internet is performed. Accordingly,the operation flow of the system in this case is an operation flowillustrated in FIG. 8, where processing relating to the third dialogprocessing unit 23 (S5 and S8 through S10) has been omitted from theoperation flow in FIG. 5.

Also, in a case where the dialog processing server 200 is not available,the action schedule is decided based on the priorities of the tasksperformed by the first dialog processing unit 5 and second dialogprocessing unit 6, with the task priorities of the third dialogprocessing unit 23 and fourth dialog processing unit 24 omitted. That isto say, the action schedule is updated by the dialog task managementunit 8 such that dialog processing for basic operation tasks of the TV100 is performed first, and dialog processing for a program informationsearch task is performed next. Accordingly, the operation flow of thesystem in this case is an operation flow illustrated in FIG. 9, whereprocessing relating to the third dialog processing unit 23 (S5 and S8through S10) and the fourth dialog processing unit 24 (S12 and S16through S19) have been omitted from the operation flow in FIG. 5.

In the dialog processing control system according to the secondembodiment of the present disclosure, the dialog processing control unit9 controls the actions of the first dialog processing unit 5 and seconddialog processing unit 6 of the TV 100, and third dialog processing unit23 and fourth dialog processing unit 24 of the dialog processing server200, based on the action schedule obtained from the dialog taskmanagement unit 8, in the same way as in the first embodiment asdescribed above. Note however, that in the second embodiment, the devicestate management unit 19 that has been newly added to the configurationof the first embodiment manages the state of the TV 100, such as theconnection state with the dialog processing server 200, and theconnection state with the air conditioner 101, which is an externaldevice, and the operating state of the air conditioner 101. The dialogtask management unit 8 decides the action schedule of the first dialogprocessing unit 5 and second dialog processing unit 6, and third dialogprocessing unit 23 and fourth dialog processing unit 24 of the dialogprocessing server 200, based on the state of the TV 100 in addition tothe priorities of the tasks stored in the task priority storage unit 7.

Accordingly, the action schedule of the dialog processing units of theTV 100 and dialog processing server 200 can be dynamically changed inaccording with the state of the TV 100, and more specifically, inaccordance with the connection state with the dialog processing server200, and the connection state with the air conditioner 101 and operatingstate of the air conditioner 101. For example, in a case where the airconditioner 101 cannot be controlled from the TV 100, the actionschedule is updated by the dialog processing control unit 9 so that thedialog processing at the third dialog processing unit 23 is notperformed. In the same way, in a case where the dialog processing server200 is not available, the action schedule is updated so that the dialogprocessing at the third dialog processing unit 23 and fourth dialogprocessing unit 24 is not executed. Accordingly, the overall system canavoid needless dialog processing, i.e., optimal dialog processing can beperformed, in accordance with the state of the TV 100, and theprocessing time of the overall system can be reduced.

Note that while the number of external devices 101 connected by networkto the device 100 has been described as one in the above embodiments,multiple external devices (e.g., an air conditioner and a lightingfixture, etc.) may be connected. In this case, the correlation betweenthe operation commands for the multiple external devices, and thecontrol information and response information that are the result ofdialog processing, is described in the dialog rules for the third dialogprocessing unit 23. For example, in a case where the external devicesare an air conditioner and a lighting fixture, operation commands forthe lighting fixture, such as “turn on the light” and “turn off thelight” are added to the dialog rules in FIG. 2. The external devicecontrol unit 12 controls the multiple external devices based on controlinformation output from the third dialog processing unit 23.

While description has been made in the above embodiments that the tasksof the first dialog processing unit 5 are basic operations of the device100, tasks of the second dialog processing unit 6 are informationsearching relating to the device 100, tasks of the third dialogprocessing unit 23 are operation of the external device 101, and tasksof the fourth dialog processing unit 24 are an Internet informationsearch task, other task than those described above may be set, as longas the tasks of the first dialog processing unit 5 and second dialogprocessing unit 6 in the device 100 differ. For example, the tasks ofthe third dialog processing unit 23 may be set to operation tasks of thedevice 100 other than basic operation tasks of the device 100. If thedevice 100 is a TV, the first dialog processing unit 5 may perform basicoperation tasks such as shown in the dialog rules in FIG. 3, and thesecond dialog processing unit 6 may be set to perform operation taskssuch as displaying subtitles, displaying help, selecting video/audiomode, and so forth, or may be set to perform operation tasks for theentire TV including basic operation tasks. Note, however, that thepriorities of these task need to be stored in the task priority storageunit 7 beforehand.

In the above-described embodiments, the priority of basic operationtasks of the device 100 is set to “1”, the priority of search tasks fordevice-related information to “3”, the priority of external deviceoperation tasks for the dialog processing server 200 to “2”, and thepriority of general information search tasks using the Internet to “4”,in the task priority storage unit 7. However, other priorities thanthose described above may be set.

Also, while the dialog processing server 200 includes two dialogprocessing units (the third dialog processing unit 23 and fourth dialogprocessing unit 24) in the embodiments described above, it is sufficientfor the dialog processing server 200 to have at least one or more dialogprocessing unit. The dialog processing server 200 is provided with thespeech recognition unit 22, but an arrangement may be made where aspeech recognition server that is a different server from the dialogprocessing server 200 is provided, and this speech recognition serverhas the speech recognition unit 22.

Third Embodiment More Underlying Knowledge Forming Basis of the PresentDisclosure

Dialog processing relating to device operations generally include twotypes of processing, which are speech understanding processing andresponse generation processing. Speech understanding processing is toanalyze a recognized text string obtained from speech recognitionprocessing, and identify from the recognized text string the operationcontents of the device that the user intends. Response generationprocessing is to generate control information for controlling the deviceto be operated and response information for the user, based on theoperation contents that have been identified.

Now, as described earlier, dialog processing, where actions of a device,which is the object of operation, are identified from a recognized textstring that has been obtained as the result of recognition of speechuttered by a user, is performed at the device side in a conventionalclient-server type speech recognition system. Accordingly, there hasbeen a problem in that the number of operation commands and the numberof speech patterns (expressions) usable in dialog processing, and speechunderstanding processing in particular are limited, due to limitedcalculation capabilities, memory capacity, and so forth, of the device.That is to say, there has been a problem in that, even if the speech ofthe user is accurately recognized by speech recognition processing atthe cloud server, the results of the recognition (text string) do notmatch an operation command or speech pattern in the dialog processing inthe device, so that task that the user intended cannot be executed,meaning that the user cannot operate the device as intended.

Accordingly, there has been proposed a method where speech understandingprocessing is performed at the cloud server in the same way as with thespeech recognition processing, enabling a vast vocabulary (number ofoperation commands, number of speech patterns, etc.) to be processed.However, there is a problem, the same as with the case of performingspeech recognition processing at the cloud server, in that in a casewhere speech understanding processing is performed at the cloud server,the speed of response from the server is considerably slower as comparedto processing within the device, if the communication environment of thenetwork is slow or traffic is heavy due to multiple devices accessingthe server.

Thus, a client-server type dialog processing system that performsdistributed dialog processing, where tasks that require a speedyresponse with a limited vocabulary of which speech understandingprocessing can be performed are subjected to dialog processing (speechunderstanding and response generation processing) in the device, andtasks that demand a great vocabulary of which speech understandingprocessing can be performed, even if there is a tradeoff that theresponse speed is somewhat slow, are partially or entirely subjected tospeech understanding processing at the cloud server, and then subjectedto response generation processing at the device side, can be conceivedas a method to solve the above problem. In such a system, the recognizedtext string is input to speech understanding processing at the deviceand the server at almost the same time, to reduce the response time fromthe server. Thus, the time until obtaining the final results of thespeech understanding processing can be reduced.

However, dialog processing where multiple different tasks are processedwith regard to the recognized text string resulting from the speechrecognition is often performed in recent speech recognition devices andsystems. For example, determination is first made regarding whether ornot the recognized text string is an operation command (function) forthe device that is the object of operation, or an application. In a caseof an operation command, the relevant device operation is executed.Otherwise, an app search using the recognized text string and a searchkeyword is performed at an app market, and the result is presented tothe user. That is to say, dialog processing, where two different tasksof a device operation task and app search task, is performed.

Note that the above-described dialog processing (speech understandingprocessing and response generation processing) regarding the multipledifferent tasks is performed only within the device. Using aclient-server type system is desirable for dialog processing, andparticularly speech understanding processing, of a vast vocabulary, asdescribed above. However, in a case of performing in tandem dialogprocessing that is performed only within the device, and distributeddialog processing at both the device side and server side, regardingmultiple tasks, there is a need to decide which of the results of dialogprocessing within the device, and results of the distributed dialogprocessing (processing where response generation processing is performedat the device side after performing speech understanding processing atthe server side) should be given priority in execution. One method wouldbe to simply execute the valid results received first, but in a casewhere the order of priority of individual tasks in the dialog processingdiffer between the dialog processing within the device and thedistributed dialog processing, this method is not necessarilyappropriate.

For example, a case will be considered where there are three tasks, ofwhich the priorities differ. The system is configured such that two setsof dialog processing are consecutively performed at the device side,regarding the task of which the priority is first and the task of whichthe priority is third, and distributed dialog processing is performedregarding the task of which the priority is second where speechunderstanding processing is performed at the server side while responsegeneration processing is performed at the device side. In this case, theresults of dialog processing are preferably executed in the order ofpriority, but the dialog process of the two tasks at the device side mayend before the distributed dialog processing at the server side, due totaking time depending on the content of the speech by the user, thenetwork environment, or the like. That is to say, a problem occurs wherethe task of which the priority is third is executed first at the deviceside, without the task of which the priority is second that has beensubjected to distributed dialog processing being executed.

A specific example will be described regarding the above problem, with aTV as the device. The task of which the priority is first is basicoperations such as selecting channels of the TV, adjusting volume, andso forth, and the task of which the priority is second is operations ofan external device connected to the TV by a network, such as operating adevice such as an air conditioner, lighting, or the like, for example.The task of which the priority is third is an information searchregarding the TV, such as program information searching by program titleor cast name, for example. In this arrangement, dialog processingregarding basic operations regarding the TV, of which the priority isfirst, and information searching regarding the TV, of which the priorityis third, is performed at the TV side in this system. Distributed dialogprocessing is performed regarding external device operations of whichthe priority is second, where speech understanding processing isperformed at the server side, and response generation processing isperformed at the TV (device) side. The reason that speech understandingprocessing regarding external device operations is performed at theserver side, is in order to enable processing regarding a wide varietyof operation commands for various devices.

If the user says “turn on the air conditioner” and this speech iscorrectly recognized in the above system, the recognized text string,“turn on the air conditioner”, is output as the speech recognitionresult. Next, the recognized text string, “turn on the air conditioner”,is input at the same time to the dialog processing at the TV side andthe speech understanding processing at the server side. At the TV side,dialog processing of basic operation tasks for the TV is performedfirst, and confirmation is made regarding whether or not the recognizedtext string is a basic operation command for the TV. The recognized textstring, “turn on the air conditioner”, is not included in basicoperation commands of the TV, so next, dialog processing for aninformation search task regarding the TV is performed. That is to say,an information search (TV schedule search, Internet search, etc.) isperformed using the recognized text string, “turn on the airconditioner”, as a search keyword.

On the other hand, speech understanding processing of operation tasks ofexternal devices is performed at the server side, and analysis isperformed regarding whether or not the recognized text string is anoperation command for an external device connected to the TV, such as anair conditioner, light fixture, etc. The recognized text string, “turnon the air conditioner” is identified as having the operation contentsof “air conditioner power on operation” as a result of the analysis, soinformation indicating the operation contents of “air conditioner poweron operation” is transmitted from the server to the TV.

In light of the overall system, the air conditioner power on operation,which is the operation task of the external device of which the priorityis second, should be executed before the information search taskrelating to the TV, of which the priority is third. However, there is apossibility that the two sets of dialog processing at the device side(basic operation task of the TV and information search task regardingthe TV) will end in a shorter time than the speech understandingprocessing of the external device operation task at the server,depending on the network environment and so forth, as described above.That is to say, depending on the network environment, displaying of theresults of the keyword search for “turn on the air conditioner” may beexecuted before the operation of turning on the power for the airconditioner, meaning that the user cannot operate the devices asintended.

The present disclosure provides an information processing device andinformation processing method that enables optimal dialog processingcontrol to be performed, when performing in tandem, dialog processingperformed only in the device, and distributed dialog processing wheredialog processing is performed both at the device side and the serverside, regarding multiple tasks having different priorities, based on thepriority of the tasks.

A dialog processing control device acting as an information processingdevice according to an aspect of the present disclosure includes: aspeech recognition result obtainer that obtains a speech recognitionresult, which is text data obtained by speech recognition processing; apriority obtainer that obtains priority corresponding to each of aplurality of tasks that are each identified by a plurality of dialogprocessing based on the speech recognition result; and a dialogprocessing controller that causes a plurality of devices to performdistributed execution of the plurality of dialog processing mutuallydifferent from each other, wherein the dialog processing controllerprovides, based on the priority, control information in accordance witha task identified by the distributed execution to an executer thatoperates based on the control information. The dialog processing controldevice further comprises a dialog processor that performs one of theplurality of dialog processing based on the speech recognition resultand a task priority storage unit that stores the priority. Any of theplurality of devices is the dialog processing control device. Any of theplurality of devices is an external device that is connected to thedialog processing control device via network. The external deviceincludes a dialog processor that performs another one of the pluralityof dialog processing based on the speech recognition result. Thepriority obtainer obtains the priority stored in the task prioritystorage. The dialog processing controller provides the speechrecognition result to the dialog processor and the external device, andprovides, based on the priority, to the executer, the controlinformation obtained by the dialog processing performed by the dialogprocessor or the external device. The each of the plurality of dialogprocessing includes at least speech understanding processing thatgenerates operation content information. The external device includes adialog processor that performs the speech understanding processing. Thedialog processor of the at least one of the plurality of devicesincludes a speech understander that performs the speech understandingprocessing and a response generator that generates response informationand the control information based on the operation content information.

For example, in this configuration, the dialog task management unit 8decides the action schedule for the speech understanding processing ofthe dialog processing units and response generation units at the deviceside, and the speech understanding processing server, for each task,based on the priority of each task stored in the task priority storageunit 7. The dialog processing control unit 9 controls actions of speechunderstanding processing at the dialog processing units and responsegeneration units at the device side, and the speech understandingprocessing server, based on the action schedule. Accordingly, even in acase of performing in tandem dialog processing that is performed onlywithin the device, and distributed dialog processing at both the deviceside and server side, regarding multiple tasks having differentpriorities, each dialog processing can be controlled in an orderaccording to the priority of each task. That is to say, in a case wherespeech understanding processing of tasks with high priority is performedat the server side and dialog processing of tasks with low priority isperformed at the device side by parallel processing at the same time,the results of dialog processing performed by distributed processingbetween the device side and server side can be executed in accordancewith the priority rather than the processing results at the device side,even if the response of the dialog processing results of speechunderstanding processing from the server is delayed.

A dialog processing control device according to another aspect of thepresent disclosure may further include a device state manager manages astate of a controlled device that is controlled by the executer. Thepriority obtainer may obtain the priority based on the state managed bythe device state manager.

For example, in this configuration as well, the dialog processingcontrol unit 9 controls the actions of speech understanding processingat the dialog processing units and response generation units at the sideof the devices, and the speech understanding processing server, based onthe action schedule obtained from the dialog task management unit 8.Note however, that in this configuration, the device state managementunit 19 manages the device state, and the dialog task management unit 8decides the action schedule of speech understanding processing at thedialog processing units and response generation units at the side of thedevices, and the speech understanding processing server, based on thedevice state in addition to the priority of tasks stored in the taskpriority storage unit 7. Accordingly, the action schedule of dialogprocessing and response generation processing by the devices, and speechunderstanding processing at the speech understanding processing server,can be dynamically changed in accordance with the state of the devicethat is the object of operation. That is to say, optimal processing canbe performed in accordance with the device state, and overall processingtime can be reduced.

FIG. 10 is a block diagram illustrating the configuration of a dialogprocessing control system according to a third embodiment. The dialogprocessing control system includes a device 100 that is the object ofoperation by speech, an external device 101 connected by network to thedevice 100, by a wired LAN, wireless LAN, or the like, a speechrecognition processing server 300 that performs speech recognitionprocessing in the cloud, and a speech understanding processing server400 that performs speech understanding processing, which is part ofdialog processing, in the cloud as well. For example, the device 100 isa TV, and the external device 101 is all devices connected by network tothe TV. The external device 101 includes an air conditioner, lighting,white goods, and so forth, connected to the TV by ECHONET (a registeredtrademark), in addition to conventional AV devices such as hard diskrecorders, AV amps, and so forth, connected by HDMI (a registeredtrademark) or LAN.

The speech recognition processing server 300 includes a communicationunit 21 and a speech recognition unit 22. The communication unit 21exchanges information such as speech, recognized text strings that aredialog processing results, and so forth, with the device 100. The speechrecognition unit 22 recognizes speech uttered by the user, that has beeninput via the communication unit 21. The speech recognition unit 22 alsotransmits recognized text strings, which are the results of speechrecognition, to the device 100 via the communication unit 21. The speechrecognition unit 22 performs speech recognition processing in the cloud,so a vast vocabulary containing hundreds of thousands of words can berecognized in the same way as with conventional arrangements.Conventional DP matching, HMM, n-gram, and so forth may be used asmethods for recognizing speech. The speech recognition processing server300 is included in an external device.

The speech understanding processing server 400 includes a communicationunit 31, a third speech understanding unit 32, and a fourth speechunderstanding unit 33. The communication unit 31 exchanges informationsuch as recognized text strings, results of processing performed on therecognized text strings by the speech understanding units, and so forth,with the device 100. The speech understanding processing server 400 isincluded in an external device.

The third speech understanding unit 32 and fourth speech understandingunit 33 subject recognized text strings input from the device 100 viathe communication unit 31 to speech understanding processing forpredetermined different tasks. The third speech understanding unit 32and fourth speech understanding unit 33 then transmit the results of thespeech understanding processing to the device 100 via the communicationunit 31.

In the present embodiment, the third speech understanding unit 32processes operation tasks of the external device 101 connected to thedevice 100, and the fourth speech understanding unit 33 processesgeneral information search tasks on the Internet, such as weatherforecasts, news, and so forth. In this case, the third speechunderstanding unit 32 confirms whether the recognized text stringcorresponds to an operation command of the external device 101, and ifcorresponding, outputs information specifically indicating the contentof the operation of the corresponding external device (operation contentinformation). The fourth speech understanding unit 33 outputsinformation specifically indicating the content of Internet searchoperations (operation content information) using a search keywordextracted from the recognized text string for performing a generalinformation search.

Note that a method for speech comprehension of the recognized textstring used at the third speech understanding unit 32 generally is amethod where the recognized text string is subjected to morphologicalanalysis and then to syntax parsing, thereby converting the recognizedtext string into operation contents for the external device 101.However, a method where the recognized text string is simply matchedwith text strings representing all operation commands may be used. Inthe same way, a method for speech comprehension of the recognized textstring used at the fourth speech understanding unit 33 generally is amethod where the recognized text string is subjected to morphologicalanalysis and then to syntax parsing, thereby extracting a search keywordfrom the recognized text string. However, a method where the recognizedtext string is simply matched with text strings representing alloperation commands may be used.

The third speech understanding unit 32 includes memory (omitted fromillustration) for example, the memory storing correlations betweenoperation commands of the external device 101 and operation contentinformation that is the result of speech understanding processing, asspeech understanding rules. The third speech understanding unit 32 readsout the speech understanding rules from the memory, and performs speechunderstanding processing based on the speech understanding rules thathave been read out. Note that it is not necessary for the third speechunderstanding unit 32 to include the aforementioned memory, and that itis sufficient for the speech understanding processing server 400 toinclude this memory. An example of speech understanding rules that thethird speech understanding unit 32 uses in a case where the externaldevice 101 is an air conditioner, for example, is illustrated in FIG.11. An operation command is words where the user instructs the externaldevice 101 to perform an operation, such as “turn on the airconditioner”, “cool air, please”, and so forth, as illustrated in FIG.11.

The operation contents are contents of operations that the externaldevice 101 actually performs with regard to the operation command. Forexample, the operation contents corresponding to the operation command“cool air, please” are “turn the power of the air conditioner on, andperform cooling operations”. Multiple operation commands may beregistered to each of the operation contents. For example, two phrases“turn on the air conditioner” and “start the air conditioner” areregistered as to the operation contents “turn the power of the airconditioner on, and perform cooling operations” in FIG. 11.

Operation content information represents the operation content of theexternal device 101 to be operated as parameters, and is output asprocessing results of the third speech understanding unit 32. Forexample, in the example in FIG. 11, (Device: Air conditioner, Operation:Power on, Operation Mode: Auto) is output as the processing results ofspeech understanding of “turn on the air conditioner”.

The speech understanding processing by the fourth speech understandingunit 33 is also performed based on speech understanding rules, in thesame way. However, there is only one speech understanding rule, and theprocessing contents thereof are to “extract a search keyword for ageneral information search from a recognized text string, and searchInternet information using that search keyword”. The above speechunderstanding rule may be embedded in the fourth speech understandingunit 33 as an action that the fourth speech understanding unit 33performs. Alternatively, the above speech understanding rule may bestored in memory in the speech understanding processing server 400, forexample. In this case, the fourth speech understanding unit 33 reads thespeech understanding rule out from the memory, and performs dialogprocessing based on the speech understanding rule that has been readout. Note that it is not necessary for the fourth speech understandingunit 33 to include the aforementioned memory, and that it is sufficientfor the speech understanding processing server 400 to include thismemory. Operation content information output as the results of speechunderstanding processing from the fourth speech understanding unit 33represents the content of this search operation as parameters, forexample. For example, in a case where the recognized text string is“weather in Tokyo”, the operation content information is (Operation:Search Internet, Information: Weather. Area: Tokyo), which is output asspeech understanding processing results of the fourth speechunderstanding unit 33.

The device 100 includes the sound collection unit 1, recognition controlunit 2, speech recognition unit 3, communication unit 4, first dialogprocessing unit 5, second dialog processing unit 6, task prioritystorage unit 7, dialog task management unit 8, dialog processing controlunit 9, device control unit 10, device-related information search unit11, external device control unit 12, general information search unit 13,GUI output unit 14, screen display unit 15, audio output unit 16, athird response generation unit 17, and a fourth response generation unit18. The first dialog processing unit 5 includes a first speechunderstanding unit 51 and a first response generation unit 52, and thesecond dialog processing unit 6 includes a second speech understandingunit 61 and a second response generation unit 62.

The configuration of the device 100 will now be described in detail. Thesound collection unit 1 is a microphone that inputs speech uttered by auser, and outputs the input speech to the recognition control unit 2 asaudio data. The recognition control unit 2 outputs the audio data inputfrom the sound collection unit 1 to the speech recognition unit 3, andalso outputs this audio data to the speech recognition unit 22 of thespeech recognition processing server 300 via the communication unit 4.The recognition control unit 2 decides a recognized text string based onspeech recognition results obtained from the speech recognition unit 3or the speech recognition unit 22. The speech recognition unit 3recognizes the speech uttered by the user and input from the recognitioncontrol unit 2, and outputs a recognized text string to the recognitioncontrol unit 2 as a speech recognition result. The communication unit 4exchanges information such as audio data recognized text strings, dialogprocessing results, and so forth, with the speech recognition processingserver 300. The communication unit 4 also exchanges information such asrecognized text strings and speech understanding processing results andso forth with the speech understanding processing server 400. The speechrecognition unit 3 can only recognize a small vocabulary containingaround several hundred words, since speech recognition processing isperformed in the device, but the response speed thereof is considerablyfaster than that of the speech recognition unit 22 of the speechrecognition processing server 300. Conventional DP matching, HMM,n-gram, and so forth, may be used as methods for recognizing speech.

The first dialog processing unit 5 and the second dialog processing unit6 perform dialog processing of predetermined different tasks, based onthe recognized text string decided by the recognition control unit 2. Inthe present embodiment, the first dialog processing unit 5 processesbasic operation tasks of the device 100, and the second dialogprocessing unit 6 processes information search tasks relating to thedevice 100. In this case, the first speech understanding unit 51confirms whether a recognized text string that has been inputcorresponds to any of basic operation commands of the device 100, and ifcorresponding, outputs information specifically indicating contents ofcorresponding device operations (operation content information) asspeech understanding processing results. Next, the first responsegeneration unit 52 outputs control information for executing thecorresponding device operations, based on the operation contentinformation output from the first speech understanding unit 51.

Also, in the second dialog processing unit 6, the second speechunderstanding unit 61 extracts a search keyword from the recognized textstring that has been input, and outputs information specificallyindicating the contents of the search operation for device-relatedinformation using that search keyword (operation content information) asspeech understanding processing results. Next, the second responsegeneration unit 62 outputs control information for executing the searchoperation for device-related information, based on the operation contentinformation output from the second speech understanding unit 61. Thefirst response generation unit 52 and second response generation unit 62further output response information for presenting the results of dialogprocessing to the user, besides each outputting control information.

Note that a method for speech comprehension of the recognized textstring used at the first speech understanding unit 51 generally is amethod where the recognized text string is subjected to morphologicalanalysis and then to syntax parsing, thereby converting the recognizedtext string into operation contents for the device 100. However, amethod where the recognized text string is simply matched with textstrings representing all operation commands may be used. In the sameway, a method for speech comprehension of the recognized text stringused at the second speech understanding unit 61 generally is a methodwhere the recognized text string is subjected to morphological analysisand then to syntax parsing, thereby extracting a keyword for searchingdevice-related information from the recognized text string. However, amethod where the recognized text string is simply matched with textstrings representing all operation commands may be used.

The first speech understanding unit 51 of the first dialog processingunit 5 includes memory, for example. Correlations between operationcommands of the device 100 and operation content information that is theresults of speech understanding processing are stored in this memory asspeech understanding rules. FIG. 12 illustrates an example of speechunderstanding rules used by the first speech understanding unit 51 in acase where the device 100 is a TV. The first speech understanding unit51 reads the speech understanding rules illustrated in FIG. 12 from thememory, for example, and performs speech understanding processing basedon the speech understanding rules that have been read out. Note that itis not necessary for the first speech understanding unit 51 to includethis memory; it is sufficient for the device 100 to include this memory.The operation commands are words that the user speaks to instruct thedevice 100 to perform operations, such as “turn on the TV”, “programschedule”, and so forth, as illustrated in FIG. 12.

The operation contents are the contents of the operation that the device100 actually performs in response to the operation command. For example,the operation content corresponding to the operation command “turn onthe TV” is “turn the power of the TV on”. Multiple operation commandsmay be registered for each operation content. For example, two phrases,“raise the volume” and “volume up”, are registered to the operationcontent “raise volume by 3 levels” in FIG. 12.

The operation content information represents the operation contents ofthe device 100 that is to be operated as parameters, and is output asprocessing results of the first speech understanding unit 51. Forexample, in the example in FIG. 12, (Device: TV, Operation: Power on) isoutput as the processing results of the speech understanding regarding“turn on the TV” as to the TV.

The first response generation unit 52 includes memory (omitted fromillustration), for example. Correlations between operation contentinformation of the device 100, and control information and responsegeneration information of the device 100 that are the results ofresponse generation processing, are stored in this memory as responsegeneration rules. FIG. 13 illustrates an example of response generationrules corresponding to the speech understanding rules illustrated inFIG. 12. The first response generation unit 52 reads the responsegeneration rules illustrated in FIG. 13 from the memory, for example,and performs response generation processing based on the responsegeneration rules that have been read out. Note that it is not necessaryfor the first response generation unit 52 to include this memory; it issufficient for the device 100 to include this memory. The operationcontent information is the same as the speech understanding rules inFIG. 12, as can be seen from FIG. 13, representing the operationcontents of the device 100 to be operated as parameters.

Control information is device control commands to cause the device 100that is the object of operation to execute the operation contents, andis information input to the device control unit 10. For example, in acase of causing the TV to execute the operation content “turn on the TV”in the example in FIG. 13, a device control command (TV, On) is input tothe device control unit 10.

Response information is information presented to the user using audioand a screen when a recognized text string is accepted as an operationcommand illustrated in FIG. 13. For example, in a case where arecognized text string is accepted as the operation command “turn on theTV” illustrated in FIG. 12, the response information “turning on TV” inFIG. 13 is presented to the user.

The speech understanding processing by the second speech understandingunit 61 of the second dialog processing unit 6 is also performed basedon speech understanding rules, in the same way. However, there is onlyone speech understanding rule, and the processing contents thereof areto “extract a search keyword from a recognized text string, and searchdevice-related information using that search keyword”. The above speechunderstanding rule may be embedded in the second speech understandingunit 61 as an action that the second speech understanding unit 61performs. Alternatively, the second speech understanding unit 61 mayinclude memory (omitted from illustration), with the above speechunderstanding rule being stored in this memory. In this case, the secondspeech understanding unit 61 reads the speech understanding rule outfrom the memory, and performs dialog processing based on the dialog rulethat has been read out. Note that it is not necessary for the secondspeech understanding unit 61 to include the aforementioned memory, andthat it is sufficient for the device 100 to include this memory. If thedevice 100 is a TV and the device-related information is programinformation of a program schedule, for example, the contents ofprocessing are to “extract a search keyword from a recognized textstring to search for program information in the recognized text string,and search for program information from the program schedule using thatsearch keyword”. The operation content information represents thecontents of this search operation as parameters, and is output asresults of speech understanding processing by the second speechunderstanding unit 61. For example, in a case where the recognized textstring is “dramas on tomorrow”, (Operation: Search EPG, Day: Tomorrow,Genre: Drama) is output as the results of speech understandingprocessing.

The response generation processing by the second response generationunit 62 is also performed based on response generation rules. However,there is only one response generation rule, and the processing contentsthereof are to “generate control information and response informationfor executing search of device-related information, based on operationcontent information”. The above response generation rule may be embeddedin the second response generation unit 62 as an action that the secondresponse generation unit 62 performs. Alternatively, the second responsegeneration unit 62 may include memory (omitted from illustration), withthe above response generation rule being stored in this memory. In thiscase, the second response generation unit 62 reads the responsegeneration rule out from the memory, and performs response generationprocessing based on the response generation rule that has been read out.Note that it is not necessary for the second response generation unit 62to include the aforementioned memory, and that it is sufficient for thedevice 100 to include this memory. If the device 100 is a TV and thedevice-related information is program information of a program schedule,for example, the control information output as the results of responsegeneration processing from the second response generation unit 62 is adevice control command to cause the device-related information searchunit 11 of the device 100 to search for program information from theprogram schedule using a search keyword extracted from the recognizedtext string, and the response information is “displaying search resultsof program schedule on screen” or the like.

The third response generation unit 17 performs response generationprocessing for predetermined tasks, based on the results of speechunderstanding processing by the third speech understanding unit 32 ofthe speech understanding processing server 400. As described earlier,the third speech understanding unit 32 processes operation tasks of theexternal device 101 and the third response generation unit 17 processesoperation tasks of the external device 101 in the present embodiment.That is to say, the third response generation unit 17 outputs controlinformation for executing operation of a corresponding external devicebased on the operation content information output from the third speechunderstanding unit 32. The third response generation unit 17 alsooutputs response information for presenting the user with results of thespeech understanding processing, besides control information.

The third response generation unit 17 includes memory (omitted fromillustration), for example. Correlations between operation contentinformation of the external device 101, and control information andresponse information that are the results of response generationprocessing are stored in this memory as response generation rules. FIG.14 illustrates an example of response generation rules corresponding tothe speech understanding rules illustrated in FIG. 11. The thirdresponse generation unit 17 reads out the response generation rulesillustrated in FIG. 14 from the memory, for example, and performsresponse generation processing based on the response generation rulesthat have been read out. Note that it is not necessary for the thirdresponse generation unit 17 to include this memory; it is sufficient forthe device 100 to include this memory. The operation content informationis the same as the speech understanding rules in FIG. 11, representingthe operation contents of the external device 101 to be operated asparameters, as illustrated in FIG. 14.

The control information is a network command to cause the externaldevice 101 that is the object of operation to execute the operationcontents, and is transmitted from the device 100 to the external device101 via network. For example, in a case of causing the air conditionerto execute the operation content of “turn on the air conditioner” in theexample in FIG. 14 (e.g., in a case where the operation contentinformation is “Device: Air Conditioner, Operation: Power On, OperationMode: Auto”), the network command (Air Conditioner, On, Auto) istransmitted from the device 100 to the external device 101.

The response information is information presented to the user usingaudio or a screen in a case where a recognized text string has beenaccepted as an operation command illustrated in FIG. 11. For example, ina case where a recognized text string is accepted as the operationcommand “cool air, please” illustrated in FIG. 11, the user is presentedwith the response information “turning on cooler”, illustrated in FIG.14.

The fourth response generation unit 18 performs response generationprocessing for predetermined tasks, based on the results of speechunderstanding processing by the fourth speech understanding unit 33 ofthe speech understanding processing server 400. As described earlier,the fourth speech understanding unit 33 processes general informationsearch tasks in the Internet, such as weather forecasts, news, and soforth, in the present embodiment. That is to say, the fourth responsegeneration unit 18 outputs control information for searching Internedinformation using a keyword extracted from a recognized text string tothe general information search unit 13 of the device 100, based onoperation content information output from the fourth speechunderstanding unit 33. The fourth response generation unit 18 alsooutputs response information for presenting the user with results of thespeech understanding processing, besides control information.

The response generation processing by the fourth response generationunit 18 is also performed based on response generation rules. However,there is only one response generation rule, and the processing contentsthereof are to “generate control information and response informationfor performing a general information search on the Internet, based onoperation content information”. The above response generation rule maybe embedded in the fourth response generation unit 18 as an action thatthe fourth response generation unit 18 performs. Alternatively, thefourth response generation unit 18 may include memory (omitted fromillustration), with the above response generation rule being stored inthis memory. In this case, the fourth response generation unit 18 readsthe response generation rule out from the memory, and performs responsegeneration processing based on the response generation rule that hasbeen read out. Note that it is not necessary for the fourth responsegeneration unit 18 to include the aforementioned memory, and that it issufficient for the device 100 to include this memory. Controlinformation output from the fourth response generation unit 18 as theresult of response generation processing is a network command to causethe general information search unit 13 of the device 100 to searchInternet information by a search keyword extracted from the recognizedtext string. The response information is “displaying search results onscreen” or the like.

The task priority storage unit 7 stores the priorities of tasksprocessed by the first dialog processing unit 5 and second dialogprocessing unit 6 of the device 100, the third speech understanding unit32 of the speech understanding processing server 400 and the thirdresponse generation unit 17 of the device 100, and the fourth speechunderstanding unit 33 of the speech understanding processing server 400and the fourth response generation unit 18 of the device 100. In thepresent embodiment, the priority of basic operation tasks of the device100 is set to “1”, the priority of search tasks for device-relatedinformation to “3”, the priority of external device operation tasks to“2”, and the priority of general information search tasks using theInternet to “4”, for example. Note that the smaller the priority numberis, the higher the priority is.

The dialog task management unit 8 decides action schedules for the firstdialog processing unit 5, second dialog processing unit 6, thirdresponse generation unit 17, and fourth response generation unit 18, ofthe device 100, and the third speech understanding unit 32 and fourthspeech understanding unit 33 of the speech understanding processingserver 400, based on the priority of the tasks stored in the taskpriority storage unit 7. Now, an action schedule for the dialogprocessing units, and the speech understanding processing units that arecomponents thereof, defines how, and in which order, the dialogprocessing units (e.g., the first dialog processing unit 5, seconddialog processing unit 6, third response generation unit 17, fourthresponse generation unit 18, third speech understanding unit 32, andfourth speech understanding unit 33) are to operate. For example, theinformation of

the order in which the processing units are to operate,

the timing to start action of the processing units, and

the timing to execute processing results of the processing units, isdescribed in the action schedule illustrated in FIG. 15.

For example, the timing to start operation of the dialog processingunits or speech understanding processing units means the timing at whichthe recognized text string is input to the dialog processing units, orthe speech understanding units of the speech understanding processingserver 400. Also, the timing to execute processing results of the dialogprocessing units or speech understanding processing units means thetiming at which control signals to execute the processing results of thedialog processing units are output to the components that actuallyexecute the processing results, such as the device control unit 10,device-related information search unit 11, external device control unit12, and general information search unit 13, for example.

For example, the timing at which the processing results of the firstdialog processing unit 5 are executed is the timing of executing a basicoperation task of the device 100. The timing at which the processingresults of the second dialog processing unit 6 are executed is thetiming of executing a device-related information search task. In thesame way, the timing at which the processing results of the third dialogprocessing unit 17 are executed is the timing of executing an operationtask of the external device 101, and the timing at which the processingresults of the fourth dialog processing unit 18 are executed is thetiming of executing a general Internet information search task.

The dialog processing control unit 9 controls the actions of the firstdialog processing unit 5, second dialog processing unit 6, thirdresponse generation unit 17, and fourth response generation unit 18, ofthe device 100, based on the action schedule decided at the dialog taskmanagement unit 8. The dialog processing control unit 9 also controlsthe actions of the third speech understanding unit 32 and fourth speechunderstanding unit 33 of the speech understanding processing server 400via the communication units 4 and 31.

Specifically, the dialog processing control unit 9 performs processingof inputting recognized text strings to each of the dialog processingunits and the speech understanding units of the speech understandingprocessing server 400 based on the action schedule, and causing speechunderstanding processing to start. The dialog processing control unit 9also performs processing of outputting processing results obtained fromthe response generation units to one of the device control unit 10,device-related information search unit 11, external device control unit12, and general information search unit 13, based on the actionschedule. For example, control information for operating the device 100,which has been obtained from the first response generation unit 52 ofthe first dialog processing unit 5 of the device 100, is output to thedevice control unit 10. Control information obtained from the secondresponse generation unit 62 of the second dialog processing unit 6 ofthe device 100, for executing a device-related information search, isoutput to the device-related information search unit 11. Controlinformation for operating the external device 101, which has beenobtained from the third response generation unit 17, is output to theexternal device control unit 12. Control information for executing ageneral Internet information search, which has been obtained from thefourth response generation unit 18, is output to the general informationsearch unit 13. The device control unit 10, device-related informationsearch unit 11, external device control unit 12, and general informationsearch unit 13 each correspond to an execution unit.

The device control unit 10 executes operations of the device 100 basedon the control information input from the dialog processing control unit9. The device-related information search unit 11 executes adevice-related information search based on the control information inputfrom the dialog processing control unit 9. The external device controlunit 12 executes operation of external devices based on controlinformation input from the dialog processing control unit 9. The generalinformation search unit 13 executes a generate Internet informationsearch task based on control information input from the dialogprocessing control unit 9.

The GUI output unit 14 has the screen display unit 15 that is a displayor the like, and the audio output unit 16 that is a speaker or the like.The screen display unit 15 displays operation results of the device 100executed by the device control unit 10, operation results of theexternal device 101 executed by the external device control unit 12,search results of device-related information search for by thedevice-related information search unit 11, and search results forgeneral Internet information search for by the general informationsearch unit 13. A notification sound is output at the same time from theaudio output unit 16, synchronously with the screen display.

The screen display unit 15 also outputs on a screen the responseinformation obtained from the response generation units 52, 62, 17, and18, via the dialog processing control unit 9. In the same way, the audiooutput unit 16 performs voice synthesis for the response informationobtained from the response generation units 52, 62, 17, and 18, andoutputs as response audio.

Actions performed by the system in a case where a user utters speechcommands related to tasks, to perform the dialog tasks, in the dialogprocessing control system according to the present embodiment, will bedescribed. A specific description will be made by way of an examplewhere the device 100 is a TV and the external device 101 is an airconditioner. In the following description, the TV that is an example ofthe device 100 will be described as “TV 100”, and the air conditionerthat is an example of the external device 101 will be described as “airconditioner 101”. Accordingly, the tasks of the first dialog processingunit 5 are basic operation tasks such as channel selection, volumeadjustment, and so forth, of the TV, the speech understanding rules andresponse generation rules thereof being illustrated in FIGS. 12 and 13,respectively. The tasks of the second dialog processing unit 6 areprogram information searching in a program schedule. The tasks of thethird speech understanding unit 32 of the speech understandingprocessing server 400 and the third response generation unit 17 of thedevice 100 are device operation tasks such as power operation,temperature setting, and so forth, of the air conditioner, the speechunderstanding rules and response generation rules thereof beingillustrated in FIGS. 11 and 14. The tasks of the fourth speechunderstanding unit 33 of the speech understanding server 400 and thefourth response generation unit 18 of the device 100 are searching tasksof general Internet information, such as weather forecast, news, and soforth.

In a case where the user performs speech control of the TV 100 or airconditioner 101 in the above-described dialog processing control system,the user utters a speech command toward the sound collection unit 1 ofthe TV 100. For example, in a case where the user wants to operate thevolume of the TV, the user may say “raise the volume”, or may say “lowerthe temperature” to lower the temperature set to the air conditioner. Inthe same way, in a case of performing an information search by voice, ifthe user wants to search for titles of TV dramas that will be broadcasttomorrow from the TV schedule, for example, the user may say “dramas ontomorrow” or the like, or may say “weather tomorrow” or the like tosearch for weather forecasts from the Internet.

FIG. 16 is a flowchart illustrating the flow of processing when the userinputs a speech command to the sound collection unit 1 of the TV 100.The flow of actions of the dialog processing control system will bedescribed below with reference to FIG. 16.

The sound collection unit 1 of the TV 100 collects the voice of theuser, and outputs audio data including the collected voice to therecognition control unit 2 (S41). The recognition control unit 2 causesthe speech recognition unit 3 of the TV 100 and the speech recognitionunit 22 of the speech recognition processing server 300 to subject theaudio data input from the sound collection unit 1 to speech recognitionprocessing, and finds a recognized text string based on the speechrecognition results (S42). Specifically, the following series of actionsis performed.

The recognition control unit 2 outputs the audio data input from thesound collection unit 1 to the speech recognition unit 3. At the sametime, the recognition control unit 2 also outputs the audio data inputfrom the sound collection unit 1 from the communication unit 4 to thespeech recognition unit 22 of the speech recognition processing server300 via the communication unit 21 of the speech recognition processingserver 300.

The speech recognition unit 3 performs speech recognition on the inputaudio data, and outputs a speech recognition result thereof to therecognition control unit 2. In the same way, the speech recognition unit22 of the speech recognition processing server 300 performs speechrecognition on the input audio data, and outputs a speech recognitionresult thereof to the recognition control unit 2 from the communicationunit 21 of the speech recognition processing server 300 via thecommunication unit 4 of the TV 100. Normally, the speech recognitionresult from the speech recognition unit 3 of the device 100 are obtainedbefore the speech recognition result from the speech recognition unit 22of the speech recognition processing server 300, so the recognitioncontrol unit 2 first confirms the speech recognition result of thespeech recognition unit 3. If the speech recognition unit 3 hassucceeded in recognition, the recognition control unit 2 outputs a textstring that is the speech recognition result to the dialog processingcontrol unit 9. If the speech recognition unit 3 fails in recognition,the recognition control unit 2 then confirms the speech recognitionresult from the speech recognition unit 22 of the speech recognitionprocessing server 300. IF the speech recognition unit 22 succeeds inrecognition, the recognition control unit 2 outputs a text string thatis the speech recognition result to the dialog processing control unit9. If this recognition fails as well, the recognition control unit 2presents the user with information to the effect that recognition hasfailed, using the screen display unit 15 and/or audio output unit 16 ofthe GUI output unit 14, and prompts the user to speak again.

Upon receiving a recognized text string from the recognition controlunit 2, the dialog processing control unit 9 obtains the actionschedules of the processing units that perform dialog processing fromthe dialog task management unit 8 (S43). That is to say, the dialogprocessing control unit 9 obtains the action schedules of each of thefirst dialog processing unit 5, second dialog processing unit 6, thirdresponse generation unit 17, fourth response generation unit 18, andthird speech understanding unit 32 and fourth speech understanding unit33 of the speech understanding processing server 400. Note that asdescribed earlier, the action schedules are decided beforehand by thedialog task management unit 8, based on the priority of the dialogprocessing tasks stored in the task priority storage unit 7, and areinformation stipulating the actions of the first dialog processing unit5, second dialog processing unit 6, third response generation unit 17,fourth response generation unit 18, and third speech understanding unit32 and fourth speech understanding unit 33, such as illustrated in FIG.15, for example. The following actions will be described here withreference to the action schedule in FIG. 15.

The dialog processing control unit 9 first inputs the recognized textstring obtained from the recognition control unit 2 to the first dialogprocessing unit 5 of the TV 100, following the obtained action schedule(S44). The dialog processing control unit 9 also transmits therecognized text string from the communication unit 4 of the TV 100 tothe communication unit 31 of the speech understanding processing server400 at almost the same time, to be input to the third speechunderstanding unit 32 of the speech understanding processing server 400(S45).

The first dialog processing unit 5 performs dialog processing of basicoperation tasks of the TV 100, and outputs the processing resultsthereof to the dialog processing control unit 9. The operations of thefirst dialog processing unit 5 will be described in detail. First, therecognized text string is input to the first speech understanding unit51, where speech understanding processing is performed. Processing ofthe first speech understanding unit 51 is performed based on the speechunderstanding rules illustrated in FIG. 12, as described earlier. Thatis to say, the first speech understanding unit 51 confirms whether ornot the recognized text string that has been input matches any of thedevice operation commands of the TV described in the speechunderstanding rules (S46). In a case of matching (a case of Y in S46),information specifically indicating the contents of the device operationcorresponding to that operation command (operation content information)is output. The operation content information output from the firstspeech understanding unit 51 is input to the first response generationunit 52, and response generation processing is performed. The processingof the first response generation unit 52 is performed based on theresponse generation rules illustrated in FIG. 13, as described earlier.That is to say, the first response generation unit 52 reads out thecontrol information and response information corresponding to the inputoperation content information, and outputs to the dialog processingcontrol unit 9. On the other hand, in a case of the input recognizedtext string not matching a device operation command (a case of N inS46), the first speech understanding unit 51 determines that the inputrecognized text string is not a basic operation command for the TV 100,and outputs speech understanding processing rejection information to thedialog processing control unit 9.

In a case where the dialog processing has succeeded at the first dialogprocessing unit 5, the dialog processing control unit 9 executes thedevice operation command for the TV 100 that is the result of the dialogprocessing at the first dialog processing unit 5, based on the actionschedule (S47). Specifically, the dialog processing control unit 9outputs control information obtained from the first dialog processingunit 5 to the device control unit 10, and outputs response informationto the screen display unit 15 and/or audio output unit 16 of the GUIoutput unit 14. The device control unit 10 executes the operation of theTV 100 based on the control information input from the dialog processingcontrol unit 9. The device control unit 10 also presents the responseinformation input from the dialog processing control unit 9 to the uservia the screen display unit 15 and/or audio output unit 16, and alsopresents the operation results of the TV 100 executed by the devicecontrol unit 10. The processing flow then returns to the start point(A), and stands by for the user to speak again.

The following is description of a specific example with regard to theflow of actions in dialog processing relating to basic operation tasksof the TV 100. For example, if the user utters “switch to Channel 2” tothe sound collection unit 1, and the speech recognition unit 3 succeedsin speech recognition, the recognized text string “switch to Channel 2”is input to the first dialog processing unit 5 (S44). The first dialogprocessing unit 5 subjects the input recognized text string to dialogprocessing relating to basic operation tasks of the TV 100. Therecognized text string “switch to Channel 2” is first input to the firstspeech understanding unit 51, and speech understanding processing basedon the speech understanding rules in FIG. 12 is performed. Therecognized text string “switch to Channel 2” matches an operationcommand described in the speech understanding rules in FIG. 12 (Y inS46), so the operation contents are judged to be (select Channel 2), andthe corresponding operation content information (Device: TV, Operation:Select 2 channel) is output to the first response generation unit 52.Upon receiving the input of operation content information correspondingto (select Channel 2), the first response generation unit 52 reads outthe corresponding control information (TV, On, Select 2 channel) andresponse information “switching to Channel 2” from the responsegeneration rules in FIG. 13, which are output to the dialog processingcontrol unit 9.

Next, the dialog processing control unit 9 outputs the received controlinformation (TV, On, Select 2 channel) to the device control unit 10(S47). The dialog processing control unit 9 also outputs the responseinformation “switching to Channel 2” to the screen display unit 15and/or the audio output unit 16. The device control unit 10 changes thechannel of the TV 100 to Channel 2, based on the received controlinformation. The screen display unit 15 and/or audio output unit 16perform screen display and/or speech synthesis and audio output of theresponse information “switching to Channel 2”. Thereafter, the programon Channel 2 is shown.

This so far has been description of a specific example of the flow ofactions in dialog processing relating to basic operation tasks of the TV100. Now, in a case where dialog processing at the first dialogprocessing unit 5 has failed, i.e., in a case where the dialogprocessing control unit 9 has received speech understanding processingrejection information from the first dialog processing unit 5 (a case ofN in S46), the dialog processing control unit 9 receives the results ofspeech understanding processing transmitted from the third speechunderstanding unit 32 of the speech understanding processing server 400,based on the action schedule (S48).

Note that normally, dialog processing of the first dialog processingunit 5 within the device 100 is not influenced by network communicationstate and so forth, as the TV speech understanding processing performedat the third speech understanding unit 32 in the speech understandingprocessing server 400 is, and accordingly ends quickly. Accordingly,there are cases where the dialog processing control unit 9 has to waitfor a while from obtaining dialog processing results of the first dialogprocessing unit 5 until receiving the speech understanding processingresults of the third speech understanding unit 32.

The third speech understanding unit 32 of the speech understandingprocessing server 400 subjects the recognized text string to speechunderstanding processing for operation tasks of the air conditioner 101,and transmits the processing results from the communication unit 31 tothe dialog processing control unit 9 of the TV 100, via thecommunication unit 4. The speech understanding processing of the thirdspeech understanding unit 32 is performed based on the speechunderstanding rules illustrated in FIG. 11, as described earlier.Specifically, the third speech understanding unit 32 confirms whether ornot the input recognized text string matches any of the operationcommands for the air conditioner 101 that are described in the speechunderstanding rules. In a case where there is a match, informationspecifically indicating the content of device operations correspondingto that operation command (operation content information) is transmittedfrom the communication unit 31 to the dialog processing control unit 9via the communication unit 4. The third speech understanding unit 32reads out the control information and response information correspondingto that operation command, and outputs these to the dialog processingcontrol unit 9. In a case where the input recognized text string doesnot match an operation command, the third speech understanding unit 32determines that the input recognized text string is not an operationcommand for the air conditioner 101, and transmits speech understandingprocessing rejection information to the dialog processing control unit9.

After having received the results of the speech understanding processingat the third speech understanding unit 32 from the speech understandingprocessing server 400, the dialog processing control unit 9 confirms theprocessing results thereof (S49). Specifically, the dialog processingcontrol unit 9 confirms whether the received processing results areoperation content information of the air conditioner 101 or speechunderstanding processing rejection information.

In a case where the dialog processing at the third speech understandingunit 32 has been found to be successful as a result of the confirmation,that is to say, in a case where the recognized text string is an airconditioner operation command (a case of Y in S49), the dialogprocessing control unit 9 outputs the operation content informationreceived from the speech understanding processing server 400 to thethird response generation unit 17. Based on the action schedule.Response generation processing is performed at the third responsegeneration unit 17 based on the response generation rules illustrated inFIG. 14, as described earlier (S50). That is to say, the third responsegeneration unit 17 reads out control information and responseinformation corresponding to the input operation content information,and outputs this to the dialog processing control unit 9.

Upon receiving input of control information and response information forthe air conditioner 101 from the third response generation unit 17 asthe result of response generation processing, the dialog processingcontrol unit 9 executes the device operation command for the airconditioner 101, based on the action schedule (S51). Specifically, thedialog processing control unit 9 outputs control information obtainedfrom the third response generation unit 17 to the external devicecontrol unit 12. The dialog processing control unit 9 also outputsresponse information to the screen display unit 15 and/or the audiooutput unit 16. The external device control unit 12 executes operationof the air conditioner 101 based on the control information input fromthe dialog processing control unit 9. The external device control unit12 also, via the screen display unit 15 and/or audio output unit 16,presents the response information input from the dialog processingcontrol unit 9 to the user, and presents the operation results of theair conditioner 101 executed by the external device control unit 12 tothe user. The processing flow then returns to the start point (A), andstands by for the user to speak again.

Thus, the dialog processing regarding operation tasks of the airconditioner 101 are performed in a distributed manner between the thirdspeech understanding unit 32 of the speech understanding processingserver 400 and the third response generation unit 17 of the device 100.

A specific example will be described below regarding the flow of actionsof dialog processing relating to operation tasks of the air conditioner101. For example, if the user has spoken “turn on the air conditioner”to the sound collection unit 1, and either one of the speech recognitionunit 3 and speech recognition unit 22 of the speech recognitionprocessing server 300 has succeeded in speech recognition, therecognition control unit 2 inputs the recognized text string “turn onthe air conditioner” to the dialog processing control unit 9. Next, thedialog processing control unit 9 inputs the recognized text string “turnon the air conditioner” to the first dialog processing unit 5 of the TV100 (S44). The dialog processing control unit 9 also inputs thisrecognized text string to the third speech understanding unit 32 of thespeech understanding processing server 400 as well (S45). The firstdialog processing unit 5 subjects the input recognized text string todialog processing relating to basic operation tasks for the TV 100. Therecognized text string “turn on the air conditioner” does not match anyof the operation commands described in the speech understanding rules inFIG. 12, so the first dialog processing unit 5 outputs speechunderstanding processing rejection information to the dialog processingcontrol unit 9 (a case of N in S46).

In parallel with the dialog processing of the first dialog processingunit 5, the third speech understanding unit 32 of the speechunderstanding processing server 400 subjects the input recognized textstring to dialog processing relating to operation tasks of the airconditioner 101. The recognized text string “turn on the airconditioner” matches an operation command described in the speechunderstanding rules in FIG. 11, so the operation content is judged to be(turn on power of air conditioner, and perform automatic operation), andthe third speech understanding unit 32 transmits the correspondingcontrol information (Device: Air conditioner, Operation: Power on,Operation Mode: Auto) to the dialog processing control unit 9 of the TV100.

After the dialog processing at the first dialog processing unit 5 of theTV 100 has been rejected, the dialog processing control unit 9 receivesoperation content information that is the results of the speechunderstanding processing at the third speech understanding unit 32 ofthe speech understanding processing server 400 (S48). The speechunderstanding processing at the third speech understanding unit 32 hasbeen successful, i.e., the recognized text string is an operationcommand for the air conditioner 101 (a case of Y in S49), so the dialogprocessing control unit 9 outputs the received operation contentinformation received from the speech understanding processing server 400to the third response generation unit 17. Upon receiving input of theoperation content information corresponding to (turn on power of airconditioner, and perform automatic operation), the third responsegeneration unit 17 reads out corresponding control information (Airconditioner, On, Auto) and response information “turning on airconditioner” from the response generation rules in FIG. 14, and outputsto the dialog processing control unit 9 (S50).

Next, the dialog processing control unit 9 outputs the received controlinformation (Air conditioner, On, Auto) to the external device controlunit 12 (S51). The dialog processing control unit 9 also outputs theresponse information “turning on cooler” to the screen display unit 15and/or audio output unit 16. The external device control unit 12 turnsthe power of the air conditioner 101 on based on the received controlinformation, and starts automatic operation. The screen display unit 15and/or audio output unit 16 perform screen display and/or speechsynthesis and audio output of the response information “turning on airconditioner”, and thereafter present the operation results of the airconditioner 101 to the user.

This so far has been description of a specific example of the flow ofactions in dialog processing relating to operation tasks of the airconditioner 101. Now, in a case where speech understanding processing atthe third speech understanding unit 32 has failed, i.e., in a case wherethe dialog processing control unit 9 has received speech understandingprocessing rejection information from the third speech understandingunit 32 of the speech understanding processing server 400 (a case of Nin S49), the dialog processing control unit 9 inputs the recognized textstring obtained from the recognition control unit 2 to the second dialogprocessing unit 6 of the TV 100, in accordance with the action schedule(S52). The dialog processing control unit 9 also transmits therecognized text string from the communication unit 4 of the TV 100 tothe communication unit 21 of the speech understanding processing server400 at almost the same time, to be input to the fourth speechunderstanding unit 33 of the speech understanding processing server 400(S53).

The second dialog processing unit 6 performs an information searchregarding the TV 100 using the recognized text string. Specifically, thesecond dialog processing unit 6 performs dialog processing of a programinformation search task using a program schedule, and outputs theprocessing results thereof to the dialog processing control unit 9.

The operations of the second dialog processing unit 6 will be describedin detail. First, a recognized text string is input to the second speechunderstanding unit 61 of the second dialog processing unit 6, wherespeech understanding processing is performed. As described above, thedialog processing of the second speech understanding unit 61 isperformed based on dialog rules. Specifically, the second speechunderstanding unit 61 determines whether or not the input recognizedtext string is a program information search command (S54). Determinationmethods include determining whether or not a search keyword forsearching for program information, e.g., date, genre, program title, orthe like, can be extracted from the recognized text string. That is tosay, if a search keyword is successfully extracted, the second speechunderstanding unit 61 determines that this is a program informationsearch command (a case of Y in S54), and outputs information indicatingthe contents of the search operation for program information from theextracted keyword (operation content information). The operation contentinformation output from the second speech understanding unit 61 is inputto the second response generation unit 62, where response generationprocessing is performed. The processing of the second responsegeneration unit 62 is performed based on response generation rules, asdescribed earlier. Specifically, the second response generation unit 62generates control information for executing a program information searchusing the extracted search keyword, from the program schedule of the TV100, based on the operation content information output from the secondspeech understanding unit 61, and the control information is output tothe dialog processing control unit 9. Response information forpresenting the results of the speech understanding processing to theuser to the dialog processing control unit 9 is also output, besidescontrol information. On the other hand, in a case of determining thatthe input recognized text string is not a program information searchcommand (a case of N in S54), i.e., in a case where no search keywordfor searching for program information could be extracted from therecognized text string, the second dialog processing unit 6 transmitsspeech understanding processing rejection information to the dialogprocessing control unit 9.

In a case where the dialog processing at the second dialog processingunit 6 is successful, the dialog processing control unit 9 executes aprogram information search using the program schedule that is the resultof the dialog processing at the second dialog processing unit 6, basedon the action schedule (S55). Specifically, the dialog processingcontrol unit 9 outputs the control information obtained from the seconddialog processing unit 6 to the device-related information search unit11, and also outputs the response information to the screen display unit15 and/or audio output unit 16 of the GUI output unit 14. Thedevice-related information search unit 11 performs a program informationsearch using the program schedule of the TV 100, based on controlinformation input from the dialog processing control unit 9. Thedevice-related information search unit 11 presents the responseinformation input from the dialog processing control unit 9 via thescreen display unit 15 and/or audio output unit 16. In a case wherethere are at least one or more hits for program information as a resultof the program information search, the device-related information searchunit 11 presents the program information that has been found to the uservia the screen display unit 15 and/or audio output unit 16 (S56). Theprocessing flow then returns to the start point (A), and stands by forthe user to speak again.

The following is a specific example regarding dialog processing relatingto a program information search task. For example, if the user utters“dramas on tomorrow” to the sound collection unit 1, and either of thespeech recognition unit 3 and speech recognition unit 22 of the speechrecognition processing server 300 succeeds in speech recognition, therecognition control unit 2 inputs the recognized text string “dramas ontomorrow” to the dialog processing control unit 9 (S44). The dialogprocessing control unit 9 also inputs this recognized text string to thethird speech understanding unit 32 of the speech understanding server400 as well (S45). The first dialog processing unit 5 and third speechunderstanding unit 32 both subject the recognized text string “dramas ontomorrow” to speech understanding processing regarding basic operationtasks for the TV 100 and operation tasks for the air conditioner 101,but there is no match with the operation commands described in thespeech understanding rules in FIGS. 11 and 12, so speech understandingprocessing rejection information is sequentially returned to the dialogprocessing control unit 9 from both speech understanding processingunits.

In a case of having received speech understanding processing rejectioninformation from the third speech understanding unit 32 (a case of N inS49), the dialog processing control unit 9 inputs the recognized textstring “dramas on tomorrow” to the second dialog processing unit 6 ofthe TV 100 (S52). The second dialog processing unit 6 subjects therecognized text string “dramas on tomorrow” that has been input todialog processing with regard to program information search tasks. Therecognized text string “dramas on tomorrow” is first input to the secondspeech understanding unit 61, where speech understanding processingbased on speech understanding rules is performed. Specifically, thesecond speech understanding unit 61 determines whether or not therecognized text string is a program information search command bywhether or not a search keyword d for searching for program informationcan be extracted from the recognized text string “dramas on tomorrow”(S54). Here, a date keyword “tomorrow” and a genre keyword “drama” forsearching for program information can be extracted, so the second speechunderstanding unit 61 determines that the recognized text string is aprogram information search command (processing of Y in S54). Next, thesecond speech understanding unit 61 uses the extracted date keyword“tomorrow” and a genre keyword “drama” to generate operation contentinformation (Operation: Search EPG, Day: Tomorrow, Genre: Drama), andoutputs this to the second response generation unit 62. Upon the aboveoperation content information for searching for “dramas on tomorrow”being input, the second response generation unit 62 performs responsegeneration processing based on response generation rules. Specifically,the second response generation unit 62 generates control information forexecuting a program information search using the extracted searchkeywords, from the program schedule of the TV 100 based on the operationcontent information, and outputs this control information to the dialogprocessing control unit 9. The second response generation unit 62 alsooutputs to the dialog processing control unit 9 response information forpresenting the results of the dialog processing to the user, e.g.,“searching program schedule for dramas on tomorrow”.

Upon receiving the control information for performing a programinformation search, which is the result of the dialog processing at thesecond dialog processing unit 6, the dialog processing control unit 9outputs this control information to the device-related informationsearch unit 11 (S55). The dialog processing control unit 9 also outputsthe response information “searching program schedule for dramas ontomorrow” on the screen display unit 15 and/or audio output unit 16. Thescreen display unit 15 and/or audio output unit 16 perform text displayand/or speech synthesis and audio output of the response information“searching program schedule for dramas on tomorrow”. The device-relatedinformation search unit 11 searches the program schedule of the TV 100for program information based on the input control information forprogram information search, i.e., the date keyword “tomorrow” and genrekeyword “drama”. In a case where there are at least one or more hits forprogram information corresponding to the keywords as a result of theprogram information search, the device-related information search unit11 presents the program information that has been found to the user viathe screen display unit 15 and/or audio output unit 16 (S56).

This so far has been description of a specific example of the flow ofactions in dialog processing relating to a program information searchtask. Now, in a case where dialog processing at the second dialogprocessing unit 6 has failed, i.e., in a case where the dialogprocessing control unit 9 has received speech understanding processingrejection information from the second dialog processing unit 6 (a caseof N in S54), The dialog processing control unit 9 receives the resultsof the speech understanding processing transmitted from the fourthspeech understanding unit 33 of the speech understanding processingserver 400 based on the action schedule (S57).

The fourth speech understanding unit 33 of the speech understandingprocessing server 400 performs an Internet information search using therecognized text string, specifically speech understanding processing ofa general information search task such as weather forecast, news, etc.,and transmits the processing results thereof from the communication unit31 to the dialog processing control unit 9 of the TV 100 via thecommunication unit 4. The speech understanding processing at the fourthspeech understanding unit 33 is performed based on the above-describedspeech understanding rules. Specifically, the fourth speechunderstanding unit 33 determines whether or not the input recognizedtext string is a general information search command. Determinationmethods include determining whether or not a search keyword forsearching for general information on the Internet, e.g., search keywordsnecessary for searching weather, news, maps, or the like, can beextracted from the recognized text string. That is to say, if a searchkeyword is successfully extracted, the fourth speech understanding unit33 determines that this is a general information search command, andtransmits information indicating the content of a general informationsearch operation using the extracted search keyword (operation contentinformation) from the communication unit 31 to the dialog processingcontrol unit 9 via the communication unit 4. On the other hand, in acase of determining that the input recognized text string is not ageneral information search command, i.e., in a case where no searchkeyword for a general information search could be extracted from therecognized text string, the fourth speech understanding unit 33transmits speech understanding processing rejection information to thedialog processing control unit 9.

The dialog processing control unit 9 receives the results of speechunderstanding processing at the fourth speech understanding unit 33 fromthe speech understanding processing server 400, and confirms theprocessing results (S58). Specifically, the dialog processing controlunit 9 confirms whether the received processing results are informationindicating content for a general information search operation (operationcontent information) or speech understanding processing rejectioninformation.

In a case where the speech understanding processing at the fourth speechunderstanding unit 33 has been found to be successful from theconfirmation, i.e., in a case where the recognized text string isdetermined to be a general information search command (Y in S58), thedialog processing control unit 9 outputs the operation contentinformation received from the speech understanding processing server 400to the fourth response generation unit 18, based on the action schedule.The fourth response generation unit 18 performs response generationprocessing based on response generation rules, as described earlier(S59). Specifically, the fourth response generation unit 18 generatescontrol information for executing an Internet information search usingthe extracted search keyword, and outputs the control information to thedialog processing control unit 9. The fourth response generation unit 18also outputs response information to the dialog processing control unit9 to present the results of the speech understanding processing to theuser, besides the control information.

Upon receiving input of the control information for performing a generalinformation search from the Internet, and response information, asresults of the response generation processing from the fourth responsegeneration unit 18, the dialog processing control unit 9 executes ageneral information search using the Internet, based on the actionschedule (S60). Specifically, the dialog processing control unit 9outputs the control information obtained from the fourth responsegeneration unit 18 to the general information search unit 13. The dialogprocessing control unit 9 also outputs the response information to thescreen display unit 15 and/or audio output unit 16 of the GUI outputunit 14.

The general information search unit 13 performs a general informationsearch using the Internet, based on control information input from thedialog processing control unit 9. The general information search unit 13also presents the response information input from the dialog processingcontrol unit 9 via the screen display unit 15 and/or audio output unit16. In a case where there are at least one or more hits for generalinformation as a result of the general information search, the generalinformation search unit 13 presents the general information that hasbeen found to the user via the screen display unit 15 and/or audiooutput unit 16 (S61). The processing flow then returns to the startpoint (A), and stands by for the user to speak again.

The following is a specific example regarding dialog processing relatingto a general information search task. For example, if the user utters“weather for Tokyo” to the sound collection unit 1, and either of thespeech recognition unit 3 and speech recognition unit 22 of the speechrecognition processing server 300 succeeds in speech recognition, therecognition control unit 2 inputs the recognized text string “weatherfor Tokyo” to the dialog processing control unit 9. Next, the dialogprocessing control unit 9 inputs the recognized text string “weather forTokyo” to the first dialog processing unit 5 of the TV 100 (S44). Thedialog processing control unit 9 also inputs this recognized text stringto the third speech understanding unit 32 of the speech understandingprocessing server 400 as well (S45). The first dialog processing unit 5and third speech understanding unit 32 both subject the recognized textstring “weather for Tokyo” to speech understanding processing regardingbasic operation tasks for the TV 100 and operation tasks for the airconditioner 101, but there is no match with the operation commandsdescribed in the speech understanding rules in FIGS. 11 and 12, sospeech understanding processing rejection information is sequentiallyreturned to the dialog processing control unit 9 from both speechunderstanding processing units.

In a case of having received speech understanding processing rejectioninformation from the third speech understanding unit 32 (a case of N inS49), the dialog processing control unit 9 inputs the recognized textstring “weather for Tokyo” to the second dialog processing unit 6 of theTV 100 (S52). The dialog processing control unit 9 also inputs thisrecognized text string to the fourth dialog processing unit 24 of thespeech understanding processing server 400 as well (S53). The seconddialog processing unit 6 subjects the recognized text string “weatherfor Tokyo” to dialog processing with regard to program informationsearch tasks, but no keyword for searching for program information canbe extracted from the recognized text string, so speech understandingprocessing rejection information is output to the dialog processingcontrol unit 9 (processing of N in S54).

In parallel with the dialog processing at the second dialog processingunit 6, the fourth speech understanding unit 33 of the speechunderstanding processing server 400 subjects the input recognized textstring to speech understanding processing relating to a generalinformation search task. Specifically, the fourth speech understandingunit 33 determines whether or not the recognized text string is ageneral information search command, by whether or not a search keywordfor performing a general information search can be extracted from therecognized text string “weather for Tokyo”. Here, an area keyword“Tokyo” and information type keyword “weather” for performing a generalinformation search can be extracted, so the fourth speech understandingunit 33 determines that the recognized text string is a generalinformation search command. Next, fourth speech understanding unit 33uses the area keyword “Tokyo” and information type keyword “weather”that have been extracted, to generate operation content information(Operation: Search Internet, Information: Weather. Area: Tokyo)indicating the content of the general information search operation fromthe Internet, and transmits this to the dialog processing control unit 9of the TV 100.

After the dialog processing of the second dialog processing unit 6 ofthe TV 100 has been rejected, the dialog processing control unit 9receives the operation content information that is the result of thespeech understanding processing at the fourth speech understanding unit33 of the speech understanding processing server 400 (S58). The speechunderstanding processing at the fourth speech understanding unit 33 hasbeen successful, i.e., the recognized text string is a command for ageneral information search on the Internet (a case of Y in S58), so thedialog processing control unit 9 outputs the received operation contentinformation to the fourth response generation unit 18. Upon receivinginput of the above operation content information for searching for“weather for Tokyo”, the fourth response generation unit 18 performsresponse generation processing based on response generation rules.Specifically, the fourth response generation unit 18 generates controlinformation for executing an Internet information search using theextracted search keywords, based on the operation content information,and outputs the control information to the dialog processing controlunit 9 (S59). The fourth response generation unit 18 also outputsresponse information to present the results of the dialog processing tothe user, such as “searching Internet for weather in Tokyo” for example,to the dialog processing control unit 9.

Upon receiving the control information for performing a generalinformation search from the Internet, which is the results of theresponse generation processing at the fourth response generation unit18, the dialog processing control unit 9 outputs the control informationto the general information search unit 13 (S60). The dialog processingcontrol unit 9 also outputs the received response information “searchingInternet for weather in Tokyo” to the screen display unit 15 and/oraudio output unit 16.

Based on the control information for the general information search thathas been input, i.e., the area keyword “Tokyo” and information typekeyword “weather”, the general information search unit 13 searches forinformation on the Internet corresponding to these keywords. In a casewhere there are at least one or more hits for the search keywords as aresult of the information search, the general information search unit 13presents the search results to the user via the screen display unit 15and/or audio output unit 16 (S61).

This so far has been description of dialog processing relating to ageneral information search task. Now, in a case where speechunderstanding processing at the fourth speech understanding unit 33 hasfailed, i.e., in a case of receiving speech understanding processingrejection information from the fourth speech understanding unit 33 (acase of N in S58), the dialog processing control unit 9 makes apresentation to the user to the effect that all dialog processing hasfailed (S62). For example, the dialog processing control unit 9 presents“not able to understand what you said” or the like to the user via thescreen display unit 15 and/or audio output unit 16. The processing flowthen returns to the start point (A), and stands by for the user to speakagain.

As described above, in the dialog processing control system according tothe present embodiment, the dialog task management unit 8 decides theaction schedule of the first dialog processing unit 5, second dialogprocessing unit 6, third response generation unit 17, and fourthresponse generation unit 18, of the device 100, and the third speechunderstanding unit 32 and fourth speech understanding unit 33 of thespeech understanding processing server 400, based on the priority ofeach task stored in the task priority storage unit 7 beforehand. When arecognized text string, which is the result of speech recognition of anutterance by the user, is input to the dialog processing control unit 9,the dialog processing control unit 9 controls the actions of the dialogprocessing units and response generation units at the TV 100 side andthe speech understanding processing units at the speech understandingprocessing server 400 side, based on the action schedule. Accordingly,each dialog processing priority can be controlled in the order accordingto the priority of each task, even in a case of performing in tandemdialog processing that is performed only within the TV 100, anddistributed dialog processing at both the TV 100 side and server 400side, regarding multiple different tasks with different priorities.

This will be described in detail. In the system according to the presentembodiment, dialog processing relating to basic operations of the TV100, which is a task of which the priority is first, and dialogprocessing relating to program information searching, which is a task ofwhich the priority is third, are performed at the TV 100 side. Also,regarding operations of the air conditioner 101, which is a task ofwhich the priority is second, and general information searching on theInternet, which is a task of which the priority is fourth, distributeddialog processing is performed, where speech understanding processing isperformed at the speech understanding processing server 400, andresponse generation processing is performed at the TV 100 side. Thedialog processing at the TV 100 side and the speech understandingprocessing at the server side are processed in parallel, almost at thesame time.

In this case, even if the response of the speech understandingprocessing results regarding air conditioner operations from the speechunderstanding processing server 400 is late due to the effects of thenetwork environment or the like, the actions of each dialog processingis controlled based on the action schedule decided from the prioritiesof the tasks. Accordingly, the results of dialog processing priorityrelating to operations of the air conditioner 101 having high priorityand performed in a distributed manner at the speech understandingprocessing server 400 and TV 100 can be executed first, rather than theresults of dialog processing relating to the program informationsearched at the device 100 side having low priority.

That is to say, in a case where speech understanding processing indialog processing at the server side having high priority, and dialogprocessing at the device side having low priority, are being processedin parallel, the processing results of dialog processing executed in adistributed manner between the server side and device can be executed inaccordance with priority rather than the processing results at thedevice side, even if the response of processing results from the serveris delayed due to the effects of the network environment or the like.

Fourth Embodiment

A modification of the dialog processing control system according to thethird embodiment described above will be described in a fourthembodiment. FIG. 17 is a block diagram illustrating the configuration ofthe dialog processing control system according to the fourth embodiment.The dialog processing control system according to the fourth embodimenthas almost the same configuration as the dialog processing controlsystem according to the third embodiment, the only difference being thata device state management unit 19 is provided to the device 100 providedto the dialog processing control system according to the firstembodiment. Accordingly, configurations in the dialog processing controlsystem according to the fourth embodiment that are the same as those inthe dialog processing control system according to the third embodimentare denoted by the same reference numerals as in the third embodiment.Only configurations that differ from the third embodiment will bedescribed, and configurations that are the same as in the thirdembodiment will be omitted from description.

The device state management unit 19 newly added to the dialog processingcontrol system according to the third embodiment manages the state ofthe device 100. The state of the device 100 is the state of connectionto the speech recognition processing server 300 and speech understandingprocessing server 400, the state of the device 100 operable by thedevice control unit 10, and the state of the external device 101operable by the external device control unit 12. If the device 100 is aTV for example, the state of the device operable by the device controlunit 10 is the state such as the channel selected, volume, screenoutput, and so forth, of the TV 100. If the external device 101 is anair conditioner for example, the state of the device operable by theexternal device control unit 12 is the connection state of the TV andair conditioner, and the operating state of the air conditioner (power,mode, temperature settings) and so forth.

The dialog task management unit 8 decides the action schedule of thefirst dialog processing unit 5, second dialog processing unit 6, thirdresponse generation unit 17, and fourth response generation unit 18, ofthe device 100, and the third speech understanding unit 32 and fourthspeech understanding unit 33 of the speech understanding processingserver 400, based on the priority of each of the tasks stored in thetask priority storage unit 7 and on the current state of the device 100managed by the device state management unit 19. The action schedule forthe dialog processing units, and the speech understanding units andresponse generation units that are components thereof defines how, andin which order, the processing units (dialog processing units, speechunderstanding units, response generation units), are to operate, in thesame way as in the third embodiment. Thus, the point of the fourthembodiment that differs from the configuration of the third embodimentis that not only the priorities of each of the tasks stored in the taskpriority storage unit 7, but also the state of the device 100 managed bythe device state management unit 19, is used when the dialog taskmanagement unit 8 decides the action schedule of the processing units(dialog processing units, speech understanding units, responsegeneration units).

Now, the operations of the dialog task management unit 8, in a case ofupdating the action schedule of the processing units (dialog processingunits, speech understanding units, response generation units) inaccordance with the state of the device 100, in the dialog processingcontrol system according to the fourth embodiment will be described.Specific description will be made below by way of an example where thedevice 100 is a TV and the external device 101 is an air conditioner, inthe same way as in the third embodiment. In the following description,the TV that is an example of the device 100 will be described as “TV100”, and the air conditioner that is an example of the external device101 will be described as “air conditioner 101”. Accordingly, the tasksof the first dialog processing unit 5 are basic operation tasks such aschannel selection, volume adjustment, and so forth, of the TV, thespeech understanding rules thereof being illustrated in FIG. 12, and theresponse generation rules in FIG. 13. The tasks of the second dialogprocessing unit 6 are program information searching in a programschedule. The tasks of the third speech understanding unit 32 and thirdresponse generation unit 17 are operation tasks such as power operation,temperature setting, and so forth, of the air conditioner, the speechunderstanding rules thereof being illustrated in FIG. 11, and theresponse generation rules in FIG. 14. The tasks of the fourth speechunderstanding unit 33 and fourth response generation unit 18 aresearching tasks of general Internet information, such as weatherforecast, news, and so forth.

FIG. 18 is a flowchart illustrating the flow of processing when thedialog task management unit 8 updates the action schedule of the dialogprocessing units and the speech understanding units and responsegeneration units that are the components thereof. The operations of thedialog task management unit 8 will now be described with reference toFIG. 18.

The dialog task management unit 8 first obtains the state of the TV 100that the device state management unit 19 is managing (S71). Next, thedialog task management unit 8 uses the state of the TV 100 that has beenobtained to confirm whether or not the TV 100 is connected to the speechunderstanding processing server 400 by network, and is available (S72).In a case where the speech understanding processing server 400 is foundto be available as the result of the confirmation (a case of Y in S72),the dialog task management unit 8 obtains, from the task prioritystorage unit 7, priority “4” for the general information search on theInternet that the fourth speech understanding unit 33 and fourthresponse generation unit 18 process (S73).

Next, in the same way, the dialog task management unit 8 uses the stateof the TV 100 that has been obtained to confirm whether or not the airconditioner 101 is controllable from the TV 100 (S74). In a case wherethe air conditioner 101, which is an external device, is found to becontrollable as the result of the confirmation (a case of Y in S74), thedialog task management unit 8 obtains, from the task priority storageunit 7, priority “2” for the operation task for the air conditioner 101that the third speech understanding unit 32 and third responsegeneration unit 17 process (S75), and the flow advances to S76.

On the other hand, in a case where the speech understanding processingserver 400 is not available, due to a reason such as the TV 100 notbeing connected to the network or the system of the speech understandingprocessing server 400 being down (a case of N in S72), the dialog taskmanagement unit 8 does not obtain the priority of the generalinformation search task using the Internet, and the flow advances toS76. In the same way, in a case where the air conditioner 101 cannot becontrolled from the TV 100, due to a reason such as the TV 100 and airconditioner 101 not being connected by network or the air conditioner101 malfunctioning (a case of N in S74), the dialog task management unit8 does not obtained the priority of the task for the air conditioner101, and the flow advances to S76.

In S76, the dialog task management unit 8 obtains the priority “1” ofbasic operation tasks of the TV 100 that the first dialog processingunit 5 processes, and the priority “3” of the program information searchtask for the TV 100 that the second dialog processing unit 6 processes,that are stored in the task priority storage unit 7.

The dialog task management unit 8 then updates the action schedule ofthe dialog processing units based on the priorities of the tasksobtained in accordance with the state of the TV 100 (S77).

Finally, the dialog task management unit 8 notifies the dialogprocessing control unit 9 that the action schedule has been updated inaccordance with the state of the TV 100 (S78). This so far has been adescription of the operation flow of processing where the dialog taskmanagement unit 8 updates the action schedule of the processing units(dialog processing units, speech understanding units, responsegeneration units).

Now, the actions of the processing units (dialog processing units,speech understanding units, response generation units) are controlled bythe dialog processing control unit 9 based on the action scheduleupdated in accordance with the state of the TV 100 in the dialogprocessing control system according to the fourth embodiment. Notehowever, that in a case where the TV 100, speech understandingprocessing server 400, and air conditioner 101 are correctly connected,the flow of operations of the system when the user has spoken a commandis the same as that of the third embodiment illustrated in FIG. 16.

However, in a case where the speech understanding processing server 400is available but the air conditioner 101 cannot be controlled from theTV 100, for example, the action schedule is decided based on thepriorities of the basic operation tasks of the TV 100 that the firstdialog processing unit 5 processes, the program information search tasksof the TV 100 that the second dialog processing unit 6 performs, and thegeneral information search tasks by internet that the fourth speechunderstanding unit 33 and fourth response generation unit 18 perform indistributed dialog processing, with the task priority of the operationtasks of the external device 101 that the third speech understandingunit 32 and third response generation unit 17 perform in distributeddialog processing omitted. That is to say, the action schedule isupdated by the dialog task management unit 8 such that basic operationtasks of the TV 100 are performed first, dialog processing for a programinformation search task is performed next, and finally dialog processingof a general information search task using the Internet is performed.Accordingly, the operation flow of the system in this case is anoperation flow illustrated in FIG. 19, where dialog processing relatingto the third speech understanding unit 32 and third response generationunit 17 (S45 and S48 through S51) has been omitted from the operationflow in FIG. 16.

Also, in a case where the speech understanding processing server 400 isnot available, the action schedule is decided based on the priorities ofthe basic operation tasks of the TV 100 that the first dialog processingunit 5 processes, and the program information search tasks of the TV 100that the second dialog processing unit 6 performs, with the taskpriority of the operation tasks of the air conditioner 101 that thethird speech understanding unit 32 and third response generation unit 17perform in distributed dialog processing, and the general informationsearch tasks by internet that the fourth speech understanding unit 33and fourth response generation unit 18 perform in distributed dialogprocessing omitted. That is to say, the action schedule is updated bythe dialog task management unit 8 such that dialog processing for basicoperation tasks of the TV 100 is performed first, and dialog processingfor a program information search task is performed next. Accordingly,the operation flow of the system in this case is an operation flowillustrated in FIG. 20, where dialog processing relating to the thirdspeech understanding unit 32 and third response generation unit 17 ofthe speech understanding processing server 400 (S45 and S48 through S51)and the processing relating to the fourth speech understanding unit 33and fourth response generation unit 18 of the speech understandingprocessing server 400 (S53 and S57 through S61) have been omitted fromthe operation flow in FIG. 16.

In the dialog processing control system according to the fourthembodiment of the present disclosure, the dialog processing control unit9 controls the actions of the first dialog processing unit 5, seconddialog processing unit 6, third response generation unit 17, and fourthresponse generation unit 18, of the TV 100, and the third speechunderstanding unit 32 and fourth speech understanding unit 33 of thespeech understanding processing server 400, based on the action scheduleobtained from the dialog task management unit 8, in the same way as inthe third embodiment as described above. Note however, that in thefourth embodiment, the device state management unit 19 that has beennewly added to the configuration of the third embodiment manages thestate of the TV 100, such as the connection state with the speechunderstanding processing server 400, and the connection state with theair conditioner 101 and operating state of the air conditioner 101,which is an external device. The dialog task management unit 8 decidesthe action schedule of the first dialog processing unit 5, second dialogprocessing unit 6, third response generation unit 17, and fourthresponse generation unit 18, of the TV 100, and the third speechunderstanding unit 32 and fourth speech understanding unit 33 of thespeech understanding processing server 400, based on the state of the TV100, in addition to the priorities of the tasks stored in the taskpriority storage unit 7.

Accordingly, the action schedule of the dialog processing units andresponse generation units of the TV 100, and the speech understandingunits of the speech understanding processing server 400, can bedynamically changed in according with the state of the TV 100, and morespecifically, in accordance with the connection state with the speechunderstanding processing server 400, and the connection state with theair conditioner 101 and operating state of the air conditioner 101. Forexample, in a case where the air conditioner 101 cannot be controlledfrom the TV 100, the action schedule is updated by the dialog processingcontrol unit 9 so that the dialog processing at the third speechunderstanding unit 32 of the speech understanding processing server 400and the third response generation unit 17 is not performed. In the sameway, in a case where the speech understanding processing server 400 isnot available, the action schedule is updated so that the dialogprocessing at the third and fourth speech understanding units 32 and 33and third and fourth response generation units 17 and 18 is notexecuted. Accordingly, the overall system can avoid needless dialogprocessing, i.e., optimal dialog processing can be performed, inaccordance with the state of the TV 100, and the processing time of theoverall system can be reduced.

Note that while the number of external devices 101 connected to thedevice 100 has been described as one in the above embodiments, multipleexternal devices (e.g., an air conditioner and a lighting fixture, etc.)may be connected. In this case, the correlation between the operationcommands for the multiple external devices, and the operation contentinformation of the multiple external devices that are the result ofspeech understanding processing, is described in the speechunderstanding rules for the third speech understanding unit 32. In thesame way, the correlation between the operation content information ofthe multiple external devices, and the control information and responseinformation of the multiple external devices that are the result ofresponse generation processing, is described in the response generationrules for the third response generation unit 17. For example, in a casewhere the external devices are an air conditioner and a lightingfixture, operation commands for the lighting fixture, such as “turn onthe light” and “turn off the light” are added to the speechunderstanding rules in FIG. 11. Operation content information, andcontrol information and response information, corresponding to the aboveoperation commands for the lighting fixtures, are also added to theresponse generation rules in FIG. 13. The external device control unit12 controls the multiple external devices based on control informationoutput from the fourth response generation unit 18.

While description has been made in the above embodiments that the tasksof the first dialog processing unit 5 are basic operations of the device100, tasks of the second dialog processing unit 6 are informationsearching relating to the device 100, tasks regarding which the thirdspeech understanding unit 32 and third response generation unit 17perform distributed dialog processing are operation of the externaldevice 101, and tasks regarding which the fourth speech understandingunit 33 and fourth response generation unit 18 perform distributeddialog processing are an Internet information search task, other tasksthan those described above may be set, as long as the tasks of the firstdialog processing unit 5 and second dialog processing unit 6 in thedevice 100 differ. For example, the tasks regarding which the thirdspeech understanding unit 32 and third response generation unit 17perform distributed dialog processing may be set to operation tasks ofthe device 100 other than basic operation tasks of the device 100. Ifthe device 100 is a TV, the first dialog processing unit 5 may performbasic operation tasks such as shown in the dialog rules in FIG. 12, andthe third speech understanding unit 32 may be set to perform operationtasks such as displaying subtitles, displaying help, selectingvideo/audio mode, and so forth, or may be set to perform operation tasksfor the entire TV including basic operation tasks. Note, however, thatthe priorities of these task need to be stored in the task prioritystorage unit 7 beforehand.

In the above-described embodiments, the priority of basic operationtasks of the device 100 is set to “1”, the priority of search tasks fordevice-related information to “3”, the priority of external deviceoperation tasks for the speech understanding processing server 400 to“2”, and the priority of general information search tasks using theInternet to “4”, in the task priority storage unit 7. However, otherpriorities than those described above may be set.

Also, while the speech understanding processing server 400 includes twospeech understanding processing units (the third speech understandingunit 32 and fourth speech understanding unit 33) in the embodimentsdescribed above, it is sufficient for the speech understandingprocessing server 400 to have at least one or more speech understandingprocessing unit. However, the number of response generation units at thecorresponding device 100 side needs to be the same as the number ofspeech understanding units.

Although the speech recognition processing server 300 and speechunderstanding processing server 400 have been provided in the aboveembodiments, thereby performing speech recognition processing and speechunderstanding processing at separate servers, this processing may beperformed at the same server.

Further, while the device 100 has the sound collection unit 1 in theabove embodiments, a separate device from the device 100, such as aremote controller, for example, may be provided. This remote controllermay have the sound collection unit 1, and be arranged to transmit voiceinput to the sound collection unit 1 to the device 100 via wireless LANor the like.

In the above-described embodiments, the components may be configured asdedicated hardware, or may be realized by executing a software programsuitable for each component. Each component may be realized by a programexecution unit such as a central processing unit (CPU) or otherprocessor or the like reading out a software program recorded in arecording medium such as a hard disk, semiconductor memory, or the like,and executing the software program.

Further, part or all of the components making up the devices describedabove may be configured as a large-scale integration (LSI) circuit. Asystem LSI is a super-multi-functional LSI manufactured integratingmultiple components on a single chip, and specifically is a computersystem configured including a microprocessor, read-only memory (ROM),random access memory (RAM), and so forth. A computer program is recordedin the RAM. The system LSI realizes its functions by the microprocessoroperating according to the computer program.

Part or all of the components of which the above-described devices maybe configured as an integrated circuit (IC) card detachably mountable toeach device or a standalone module. The IC card or module is a computersystem configured including a microprocessor, ROM, RAM, and so forth.The IC card or module may include the above-describedsuper-multifunctional LSI. The IC card or module achieves its functionsby the microprocessor operating according to the computer program. TheIC card or module may be tamper-resistant.

An aspect of the present disclosure may be a method of executingprocessing of the above-described devices, or may be a computer programwhich realizes the functions of the above-described devices by acomputer, or may be digital signals made up of the computer program.

An aspect of the present disclosure may be the computer program or thedigital signals recorded in a computer-readable recording medium, suchas for example, a flexible disk, a hard disk, a compact disc (CD)-ROM,magneto-optical (MO) disc, digital versatile disc (DVD), DVD-ROM,DVD-RAM, Blu-ray (a registered trademark) Disc (BD), Universal SerialBus (USB) memory, a memory card such as a Secure Digital (SD) Card,semiconductor memory, or the like. An aspect of the present disclosuremay also be the digital signals recorded in these recording mediums.

An aspect of the present disclosure may be an arrangement where thecomputer program or the digital signals are transmitted over an electriccommunication line, wireless or cable communication line, a network ofwhich the Internet is representative, data broadcasting, or the like.

An aspect of the present disclosure may be a computer system having amicroprocessor and memory, where the memory records the computerprogram, and the microprocessor operates according to the computerprogram.

The above-described devices may also be carried out by anotherindependent computer system, by the program or digital signals beingrecorded in the recording medium and being transported, or by theprogram or digital signals being transferred over the network or thelike.

The numerals used in the above description are all only exemplary formaking a detailed description of the embodiments of the presentdisclosure, and the present disclosure is not restricted to theexemplary numerals.

The divisions of functional blocks in the block diagrams are onlyexemplary. Multiple functional blocks may be realized as a singlefunctional block, single functional blocks may be divided into aplurality, and part of functions may be transferred to other functionalblocks. Multiple functional blocks having similar functions may beprocessed by singular hardware or software in parallel or time-division.

The order in which multiple steps included in the above method is onlyexemplary for making a detailed description of the embodiments of thepresent disclosure, and other orders that that described above may beused. Part of the above steps may be executed at the same time as (inparallel with) other steps.

While an information processing device according to one or multipleaspects has been described by way of embodiments, it is needless to saythat the present description is not restricted to these embodiments.Arrangements where various modifications conceivable by one skilled inthe art are made to the embodiments, and arrangements configured bycombining components of different embodiments, may also be encompassedby the scope of one or multiple aspects.

The present disclosure is applicable to a device and system where adevice is operated by speech.

What is claimed is:
 1. An information processing device comprising: aspeech recognition result obtainer that obtains a speech recognitionresult, which is text data obtained by speech recognition processing; apriority obtainer that obtains priority corresponding to each of aplurality of tasks that are each identified by a plurality of dialogprocessing based on the speech recognition result; and a dialogprocessing controller that causes a plurality of devices to performdistributed execution of the plurality of dialog processing mutuallydifferent from each other, wherein, the dialog processing controllerprovides, based on the priority, control information in accordance witha task identified by the distributed execution to an executer thatoperates based on the control information.
 2. The information processingdevice according to claim 1, further comprising: a device state managerthat manages a state of a controlled device that is controlled by theexecuter, wherein the priority obtainer obtains the priority based onthe state managed by the device state manager.
 3. The informationprocessing device according to claim 2, wherein the priority obtainerfurther determines whether or not the controlled device is controllablebased on the state, and obtains the priority in accordance with theresult of the determination.
 4. The information processing deviceaccording to claim 1, wherein the priority obtainer provides, to thedialog processing controller, an execution schedule of the dialogprocessing based on the priority, and wherein the dialog processingcontroller causes the plurality of devices to perform the distributedexecution, in an order based on the execution schedule.
 5. Theinformation processing device according to claim 4, wherein theexecution schedule indicates an order in which the plurality of thedialog processing of the plurality of devices are to be executed.
 6. Theinformation processing device according to claim 1, further comprising:a dialog processor that performs one of the plurality of dialogprocessing based on the speech recognition result; and a task prioritystorage that stores the priority, wherein any of the plurality ofdevices is the information processing device, wherein any of theplurality of devices is an external device that is connected to theinformation processing device via network, wherein, the external deviceincludes a dialog processor that performs another one of the pluralityof dialog processing based on the speech recognition result, wherein thepriority obtainer obtains the priority stored in the task prioritystorage, and wherein the dialog processing controller provides thespeech recognition result to the dialog processor and the externaldevice, and provides, based on the priority, to the executer, thecontrol information obtained by the dialog processing performed by thedialog processor or the external device.
 7. The information processingdevice according to claim 6, wherein the external device includes aserver that performs communication with the information processingdevice.
 8. The information processing device according to claim 6,wherein each of the plurality of dialog processing includes at leastspeech understanding processing that generates operation contentinformation, wherein the external device includes a dialog processorthat performs the speech understanding processing, and wherein thedialog processor of the information processing device includes a speechunderstander that performs the speech understanding processing, and aresponse generator that generates response information and the controlinformation based on the operation content information.
 9. Theinformation processing device according to claim 1, further comprising:the executer, wherein the executer includes an external devicecontroller that controls the external device connected to theinformation processing device, based on the control information.
 10. Theinformation processing device according to claim 1, further comprising:the executer, wherein the executer includes a device controller thatcontrols actions of the information processing device as to the user,based on the control information.
 11. The information processing deviceaccording to claim 1, wherein, at least one of the speech recognitionresult obtainer, the priority obtainer and the dialog processingcontroller includes a processor.
 12. An information processing methodcomprising: obtaining a speech recognition result, which is text dataobtained by speech recognition processing; obtaining prioritycorresponding to each of a plurality of tasks that are each identifiedby a plurality of dialog processing based on the speech recognitionresult; causing a plurality of devices to perform distributed executionof the plurality of dialog processing mutually different from eachother; and providing, based on the priority, control information inaccordance with a task identified by the distributed execution to anexecuter that operates based on the control information.